@vitrosoftware/common-ui-ts 1.1.206 → 1.1.208

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.
@@ -9,10 +9,10 @@
9
9
  }
10
10
 
11
11
  .vitro-item {
12
- display: flex;
13
- grid-gap: 4px 0;
14
- align-items: center;
15
- white-space: nowrap;
12
+ position: relative;
13
+ display: inline-block;
14
+ max-height: 80px;
15
+ overflow: hidden;
16
16
  }
17
17
 
18
18
  .vitro-value {
@@ -53,14 +53,41 @@
53
53
  margin-right: 8px;
54
54
  }
55
55
 
56
- .vitro-separator {
57
- width: 24px;
58
- height: 24px;
59
- min-width: 24px;
60
- background-size: 100%;
61
- background-position: center;
62
- background-repeat: no-repeat;
63
- margin: 0 4px;
64
- white-space: nowrap;
65
- background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/activity-item/img/activity-arrow.svg');
56
+ :global(.vitro-arrow-separator) {
57
+ margin: 0 10px;
58
+ background-color: #4A556C;
59
+ -webkit-mask-image: url('@vitrosoftware/common-ui-ts/css/std/controls/activity-item/img/activity-arrow.svg');
60
+ mask-image: url('@vitrosoftware/common-ui-ts/css/std/controls/activity-item/img/activity-arrow.svg');
61
+ -webkit-mask-repeat: no-repeat;
62
+ -webkit-mask-size: contain;
63
+ mask-size: contain;
64
+ display: inline-block;
65
+ height: 12px;
66
+ width: 18px;
67
+ vertical-align: middle;
68
+ }
69
+
70
+ .vitro-ellipsis::after {
71
+ content: '...';
72
+ position: absolute;
73
+ right: 0;
74
+ bottom: 1px;
75
+ background: #f8f9fa;
76
+ padding: 0 1px;
77
+ display: block;
78
+ width: 32px;
79
+ }
80
+
81
+ .vitro-value-content {
82
+ max-height: 80px;
83
+ display: inline;
84
+ overflow: hidden;
66
85
  }
86
+
87
+ .vitro-value-content p {
88
+ display: inline;
89
+ }
90
+
91
+ .vitro-value-tooltip {
92
+ margin-bottom: -4px;
93
+ }
@@ -1,3 +1,3 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M15.1602 7.81641C14.8684 7.5247 14.8671 7.05213 15.1572 6.7588C15.4496 6.46318 15.9267 6.46186 16.2207 6.75587L20.7585 11.2936C21.1487 11.6839 21.149 12.3165 20.7592 12.7071L16.2204 17.255C15.9267 17.5494 15.4494 17.5483 15.157 17.2526C14.867 16.9595 14.8683 16.4871 15.1599 16.1956L18.5937 12.7617L3.2857 12.7729C2.87128 12.7732 2.53516 12.4373 2.53516 12.0229C2.53516 11.6089 2.87061 11.2732 3.28461 11.2729L18.6055 11.2617L15.1602 7.81641Z" fill="#4A556C"/>
1
+ <svg width="20" height="12" viewBox="0 0 20 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.1602 1.81641C12.8684 1.5247 12.8671 1.05213 13.1572 0.758805C13.4496 0.463178 13.9267 0.46186 14.2207 0.755867L18.7585 5.29361C19.1487 5.68385 19.149 6.31647 18.7592 6.70711L14.2204 11.255C13.9267 11.5494 13.4494 11.5483 13.157 11.2526C12.867 10.9595 12.8683 10.4871 13.1599 10.1956L16.5937 6.76172L1.2857 6.77289C0.871276 6.77319 0.535156 6.43732 0.535156 6.02289C0.535156 5.60889 0.870609 5.27319 1.28461 5.27289L16.6055 5.26172L13.1602 1.81641Z" fill="#4A556C"/>
3
3
  </svg>
@@ -13,13 +13,25 @@
13
13
  font-family: 'InterRegular';
14
14
  font-size: 14px;
15
15
  line-height: 21px;
16
- padding: 8px 10px;
16
+ padding: 0;
17
17
  border-radius: 4px;
18
18
  background: #4A556C;
19
19
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
20
- max-width: 224px;
20
+ max-width: 336px;
21
+
21
22
  text-align: left;
22
23
  white-space: pre-wrap;
24
+ overflow: hidden;
25
+ }
26
+
27
+ .vitro-tooltip :global(.tooltip-inner) > :global(.ps) {
28
+ max-height: 224px;
29
+ padding: 8px 10px;
30
+ }
31
+
32
+ .vitro-tooltip :global(.tooltip-inner) > :global(.ps) > :global(.ps__rail-y) {
33
+ border: none;
34
+ background-color: #4A556C !important;
23
35
  }
24
36
 
25
37
  .vitro-tooltip :global(.tooltip-arrow)::before {
@@ -52,3 +64,12 @@
52
64
  left: -3px;
53
65
  transform: rotate(-90deg);
54
66
  }
67
+
68
+ .vitro-tooltip :global(.vitro-arrow-separator) {
69
+ background-color: #fff;
70
+ }
71
+
72
+ .vitro-tooltip :global(.tooltip-inner) p,
73
+ .vitro-tooltip :global(.tooltip-inner) span {
74
+ color: #fff;
75
+ }
package/dist/index.css CHANGED
@@ -1353,13 +1353,25 @@ div._component-loader_vitro-component-loader_3J3a2or {
1353
1353
  font-family: 'InterRegular';
1354
1354
  font-size: 14px;
1355
1355
  line-height: 21px;
1356
- padding: 8px 10px;
1356
+ padding: 0;
1357
1357
  border-radius: 4px;
1358
1358
  background: #4A556C;
1359
1359
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
1360
- max-width: 224px;
1360
+ max-width: 336px;
1361
+
1361
1362
  text-align: left;
1362
1363
  white-space: pre-wrap;
1364
+ overflow: hidden;
1365
+ }
1366
+
1367
+ ._tooltip_vitro-tooltip_JvGPShz .tooltip-inner > .ps {
1368
+ max-height: 224px;
1369
+ padding: 8px 10px;
1370
+ }
1371
+
1372
+ ._tooltip_vitro-tooltip_JvGPShz .tooltip-inner > .ps > .ps__rail-y {
1373
+ border: none;
1374
+ background-color: #4A556C !important;
1363
1375
  }
1364
1376
 
1365
1377
  ._tooltip_vitro-tooltip_JvGPShz .tooltip-arrow::before {
@@ -1392,7 +1404,15 @@ div._component-loader_vitro-component-loader_3J3a2or {
1392
1404
  left: -3px;
1393
1405
  transform: rotate(-90deg);
1394
1406
  }
1395
-
1407
+
1408
+ ._tooltip_vitro-tooltip_JvGPShz .vitro-arrow-separator {
1409
+ background-color: #fff;
1410
+ }
1411
+
1412
+ ._tooltip_vitro-tooltip_JvGPShz .tooltip-inner p,
1413
+ ._tooltip_vitro-tooltip_JvGPShz .tooltip-inner span {
1414
+ color: #fff;
1415
+ }
1396
1416
  .vitro-display-none {
1397
1417
  display: none;
1398
1418
  }
@@ -6260,10 +6280,10 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
6260
6280
  }
6261
6281
 
6262
6282
  ._activity-message_vitro-item_3Q-7zX3 {
6263
- display: flex;
6264
- grid-gap: 4px 0;
6265
- align-items: center;
6266
- white-space: nowrap;
6283
+ position: relative;
6284
+ display: inline-block;
6285
+ max-height: 80px;
6286
+ overflow: hidden;
6267
6287
  }
6268
6288
 
6269
6289
  ._activity-message_vitro-value_O4DpuTR {
@@ -6304,18 +6324,44 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
6304
6324
  margin-right: 8px;
6305
6325
  }
6306
6326
 
6307
- ._activity-message_vitro-separator_vxgHLaH {
6308
- width: 24px;
6309
- height: 24px;
6310
- min-width: 24px;
6311
- background-size: 100%;
6312
- background-position: center;
6313
- background-repeat: no-repeat;
6314
- margin: 0 4px;
6315
- white-space: nowrap;
6316
- background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/activity-item/img/activity-arrow.svg');
6327
+ .vitro-arrow-separator {
6328
+ margin: 0 10px;
6329
+ background-color: #4A556C;
6330
+ -webkit-mask-image: url('@vitrosoftware/common-ui-ts/css/std/controls/activity-item/img/activity-arrow.svg');
6331
+ mask-image: url('@vitrosoftware/common-ui-ts/css/std/controls/activity-item/img/activity-arrow.svg');
6332
+ -webkit-mask-repeat: no-repeat;
6333
+ -webkit-mask-size: contain;
6334
+ mask-size: contain;
6335
+ display: inline-block;
6336
+ height: 12px;
6337
+ width: 18px;
6338
+ vertical-align: middle;
6317
6339
  }
6318
-
6340
+
6341
+ ._activity-message_vitro-ellipsis_1fIRwiW::after {
6342
+ content: '...';
6343
+ position: absolute;
6344
+ right: 0;
6345
+ bottom: 1px;
6346
+ background: #f8f9fa;
6347
+ padding: 0 1px;
6348
+ display: block;
6349
+ width: 32px;
6350
+ }
6351
+
6352
+ ._activity-message_vitro-value-content_1fdGuBJ {
6353
+ max-height: 80px;
6354
+ display: inline;
6355
+ overflow: hidden;
6356
+ }
6357
+
6358
+ ._activity-message_vitro-value-content_1fdGuBJ p {
6359
+ display: inline;
6360
+ }
6361
+
6362
+ ._activity-message_vitro-value-tooltip_3oYwdFU {
6363
+ margin-bottom: -4px;
6364
+ }
6319
6365
  ._attached-file_vitro-attached-file-container_3AhHHlm {
6320
6366
  position: relative;
6321
6367
  }