@vitrosoftware/common-ui-ts 1.1.44 → 1.1.46
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.
- package/css/std/controls/activity-item/activity-item.css +1 -1
- package/css/std/controls/activity-item/activity-message.css +3 -4
- package/css/std/controls/command-menu/command-menu.css +1 -0
- package/css/std/controls/lookup-picker/lookup-picker-value-list.css +2 -1
- package/css/std/controls/table-view/treegrid.css +7 -8
- package/css/std/controls/tooltip/tooltip.css +49 -0
- package/dist/controls/TableView/TableView.d.ts +1 -0
- package/dist/controls/TableView/TableViewContext.d.ts +1 -0
- package/dist/controls/TableView/TreeGridTableViewContextImpl.d.ts +1 -0
- package/dist/controls/Tooltip/Tooltip.d.ts +10 -0
- package/dist/controls/Tooltip/TooltipConstants.d.ts +6 -0
- package/dist/index.css +57 -7
- package/dist/index.d.ts +3 -0
- package/dist/index.js +161 -67
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -15,12 +15,11 @@
|
|
|
15
15
|
white-space: nowrap;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.vitro-
|
|
18
|
+
.vitro-value {
|
|
19
19
|
font-family: 'InterMedium';
|
|
20
20
|
color: #222D44;
|
|
21
21
|
font-size: 14px;
|
|
22
22
|
line-height: 145%;
|
|
23
|
-
width: fit-content;
|
|
24
23
|
text-overflow: ellipsis;
|
|
25
24
|
overflow: hidden;
|
|
26
25
|
}
|
|
@@ -30,11 +29,11 @@
|
|
|
30
29
|
overflow: hidden;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
.vitro-
|
|
32
|
+
.vitro-value > :global(.vitro-flex) {
|
|
34
33
|
grid-gap: 4px;
|
|
35
34
|
}
|
|
36
35
|
|
|
37
|
-
.vitro-
|
|
36
|
+
.vitro-value > :global(.vitro-flex) > div {
|
|
38
37
|
width: 20px;
|
|
39
38
|
min-width: 20px;
|
|
40
39
|
height: 20px;
|
|
@@ -388,15 +388,14 @@ div.TWMenuItemText {
|
|
|
388
388
|
.TWPageMessage, .GridMessage {
|
|
389
389
|
border: none !important;
|
|
390
390
|
box-shadow: none !important;
|
|
391
|
-
/*
|
|
392
|
-
background-image: url("data:image/svg+xml,%3Csvg
|
|
391
|
+
/* preloader.svg URL-encoder for SVG */
|
|
392
|
+
background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 24 24' fill='%230097ff' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_Wezc%7Btransform-origin:center;animation:spinner_Oiah 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite%7D@keyframes spinner_Oiah%7B8.3%25%7Btransform:rotate(30deg)%7D16.6%25%7Btransform:rotate(60deg)%7D25%25%7Btransform:rotate(90deg)%7D33.3%25%7Btransform:rotate(120deg)%7D41.6%25%7Btransform:rotate(150deg)%7D50%25%7Btransform:rotate(180deg)%7D58.3%25%7Btransform:rotate(210deg)%7D66.6%25%7Btransform:rotate(240deg)%7D75%25%7Btransform:rotate(270deg)%7D83.3%25%7Btransform:rotate(300deg)%7D91.6%25%7Btransform:rotate(330deg)%7D100%25%7Btransform:rotate(360deg)%7D%7D%3C/style%3E%3Cg class='spinner_Wezc'%3E%3Ccircle cx='12' cy='2.5' r='1' opacity='1'/%3E%3Ccircle cx='16.75' cy='3.77' r='1' opacity='1'/%3E%3Ccircle cx='20.23' cy='7.25' r='1' opacity='1'/%3E%3Ccircle cx='21.50' cy='12.00' r='1' opacity='1'/%3E%3Ccircle cx='20.23' cy='16.75' r='1' opacity='1'/%3E%3Ccircle cx='16.75' cy='20.23' r='1' opacity='1'/%3E%3Ccircle cx='12' cy='21.5' r='1'/%3E%3C/g%3E%3C/svg%3E");
|
|
393
393
|
background-repeat: no-repeat;
|
|
394
|
-
background-position: center
|
|
395
|
-
|
|
396
|
-
padding-top:
|
|
397
|
-
|
|
398
|
-
font-family:
|
|
399
|
-
font-size: 10pt !important;
|
|
394
|
+
background-position: center top;
|
|
395
|
+
padding: 0;
|
|
396
|
+
padding-top: 64px !important;
|
|
397
|
+
min-width: 110px;
|
|
398
|
+
font-family: 'InterRegular';
|
|
400
399
|
}
|
|
401
400
|
|
|
402
401
|
.TWMessage {
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.vitro-tooltip {
|
|
2
|
+
display: none !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.vitro-tooltip[style*='transform'] {
|
|
6
|
+
display: block !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.vitro-tooltip :global(.tooltip-inner) {
|
|
10
|
+
color: #FFF;
|
|
11
|
+
font-family: 'InterRegular';
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
line-height: 21px;
|
|
14
|
+
padding: 8px 10px;
|
|
15
|
+
border-radius: 4px;
|
|
16
|
+
background: #4A556C;
|
|
17
|
+
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
|
|
18
|
+
max-width: 224px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.vitro-tooltip :global(.tooltip-arrow)::before {
|
|
22
|
+
content: '';
|
|
23
|
+
display: block;
|
|
24
|
+
width: 16px;
|
|
25
|
+
height: 13px;
|
|
26
|
+
border: unset !important;
|
|
27
|
+
background-size: 100%;
|
|
28
|
+
background-position: center;
|
|
29
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13' fill='none'%3E%3Cpath d='M9.73205 12C8.96225 13.3333 7.03775 13.3333 6.26795 12L1.0718 3C0.301995 1.66667 1.26424 1.46309e-06 2.80384 1.32849e-06L13.1961 4.19966e-07C14.7358 2.8537e-07 15.698 1.66667 14.9282 3L9.73205 12Z' fill='%234A556C'/%3E%3C/svg%3E");
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.vitro-tooltip:global(.bs-tooltip-top) :global(.tooltip-arrow)::before {
|
|
33
|
+
top: -3px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.vitro-tooltip:global(.bs-tooltip-bottom) :global(.tooltip-arrow)::before {
|
|
37
|
+
bottom: -3px;
|
|
38
|
+
transform: rotate(180deg);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.vitro-tooltip:global(.bs-tooltip-end) :global(.tooltip-arrow)::before {
|
|
42
|
+
right: -3px;
|
|
43
|
+
transform: rotate(90deg);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.vitro-tooltip:global(.bs-tooltip-start) :global(.tooltip-arrow)::before {
|
|
47
|
+
left: -3px;
|
|
48
|
+
transform: rotate(-90deg);
|
|
49
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as TOOLTIP from './TooltipConstants';
|
|
3
|
+
interface TooltipProps {
|
|
4
|
+
text: string;
|
|
5
|
+
placement?: TOOLTIP.PLACEMENT | any;
|
|
6
|
+
isShow?: boolean;
|
|
7
|
+
children: any;
|
|
8
|
+
}
|
|
9
|
+
export declare const Tooltip: (props: TooltipProps) => JSX.Element;
|
|
10
|
+
export {};
|
package/dist/index.css
CHANGED
|
@@ -3128,7 +3128,8 @@
|
|
|
3128
3128
|
margin-right: 8px;
|
|
3129
3129
|
}
|
|
3130
3130
|
|
|
3131
|
-
._lookup-picker-value-list_vitro-value-list_LSdCMjq ._lookup-picker-value-list_vitro-item_7yZBz5u:hover
|
|
3131
|
+
._lookup-picker-value-list_vitro-value-list_LSdCMjq ._lookup-picker-value-list_vitro-item_7yZBz5u:hover,
|
|
3132
|
+
._lookup-picker-value-list_vitro-value-list_LSdCMjq ._lookup-picker-value-list_vitro-item_7yZBz5u:focus {
|
|
3132
3133
|
background: #F3F8FF;
|
|
3133
3134
|
}
|
|
3134
3135
|
|
|
@@ -3317,6 +3318,7 @@
|
|
|
3317
3318
|
z-index: 800;
|
|
3318
3319
|
padding: 0 !important;
|
|
3319
3320
|
margin-bottom: 12px;
|
|
3321
|
+
min-height: 32px;
|
|
3320
3322
|
}
|
|
3321
3323
|
|
|
3322
3324
|
._command-menu_vitro-command-menu_l82vtIh .nav {
|
|
@@ -4383,7 +4385,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4383
4385
|
|
|
4384
4386
|
._activity-item_vitro-content_3Lt7XRy {
|
|
4385
4387
|
width: 100%;
|
|
4386
|
-
|
|
4388
|
+
min-width: 0;
|
|
4387
4389
|
}
|
|
4388
4390
|
|
|
4389
4391
|
._activity-item_vitro-content_3Lt7XRy p {
|
|
@@ -4429,6 +4431,56 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4429
4431
|
margin-right: 8px;
|
|
4430
4432
|
}
|
|
4431
4433
|
|
|
4434
|
+
._tooltip_vitro-tooltip_JvGPShz {
|
|
4435
|
+
display: none !important;
|
|
4436
|
+
}
|
|
4437
|
+
|
|
4438
|
+
._tooltip_vitro-tooltip_JvGPShz[style*='transform'] {
|
|
4439
|
+
display: block !important;
|
|
4440
|
+
}
|
|
4441
|
+
|
|
4442
|
+
._tooltip_vitro-tooltip_JvGPShz .tooltip-inner {
|
|
4443
|
+
color: #FFF;
|
|
4444
|
+
font-family: 'InterRegular';
|
|
4445
|
+
font-size: 14px;
|
|
4446
|
+
line-height: 21px;
|
|
4447
|
+
padding: 8px 10px;
|
|
4448
|
+
border-radius: 4px;
|
|
4449
|
+
background: #4A556C;
|
|
4450
|
+
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
|
|
4451
|
+
max-width: 224px;
|
|
4452
|
+
}
|
|
4453
|
+
|
|
4454
|
+
._tooltip_vitro-tooltip_JvGPShz .tooltip-arrow::before {
|
|
4455
|
+
content: '';
|
|
4456
|
+
display: block;
|
|
4457
|
+
width: 16px;
|
|
4458
|
+
height: 13px;
|
|
4459
|
+
border: unset !important;
|
|
4460
|
+
background-size: 100%;
|
|
4461
|
+
background-position: center;
|
|
4462
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13' fill='none'%3E%3Cpath d='M9.73205 12C8.96225 13.3333 7.03775 13.3333 6.26795 12L1.0718 3C0.301995 1.66667 1.26424 1.46309e-06 2.80384 1.32849e-06L13.1961 4.19966e-07C14.7358 2.8537e-07 15.698 1.66667 14.9282 3L9.73205 12Z' fill='%234A556C'/%3E%3C/svg%3E");
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
._tooltip_vitro-tooltip_JvGPShz.bs-tooltip-top .tooltip-arrow::before {
|
|
4466
|
+
top: -3px;
|
|
4467
|
+
}
|
|
4468
|
+
|
|
4469
|
+
._tooltip_vitro-tooltip_JvGPShz.bs-tooltip-bottom .tooltip-arrow::before {
|
|
4470
|
+
bottom: -3px;
|
|
4471
|
+
transform: rotate(180deg);
|
|
4472
|
+
}
|
|
4473
|
+
|
|
4474
|
+
._tooltip_vitro-tooltip_JvGPShz.bs-tooltip-end .tooltip-arrow::before {
|
|
4475
|
+
right: -3px;
|
|
4476
|
+
transform: rotate(90deg);
|
|
4477
|
+
}
|
|
4478
|
+
|
|
4479
|
+
._tooltip_vitro-tooltip_JvGPShz.bs-tooltip-start .tooltip-arrow::before {
|
|
4480
|
+
left: -3px;
|
|
4481
|
+
transform: rotate(-90deg);
|
|
4482
|
+
}
|
|
4483
|
+
|
|
4432
4484
|
._activity-message_vitro-activity-message_3GdyQuC {
|
|
4433
4485
|
display: flex;
|
|
4434
4486
|
flex-direction: column;
|
|
@@ -4447,13 +4499,11 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4447
4499
|
white-space: nowrap;
|
|
4448
4500
|
}
|
|
4449
4501
|
|
|
4450
|
-
._activity-message_vitro-
|
|
4502
|
+
._activity-message_vitro-value_O4DpuTR {
|
|
4451
4503
|
font-family: 'InterMedium';
|
|
4452
4504
|
color: #222D44;
|
|
4453
4505
|
font-size: 14px;
|
|
4454
4506
|
line-height: 145%;
|
|
4455
|
-
width: -moz-fit-content;
|
|
4456
|
-
width: fit-content;
|
|
4457
4507
|
text-overflow: ellipsis;
|
|
4458
4508
|
overflow: hidden;
|
|
4459
4509
|
}
|
|
@@ -4463,11 +4513,11 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4463
4513
|
overflow: hidden;
|
|
4464
4514
|
}
|
|
4465
4515
|
|
|
4466
|
-
._activity-message_vitro-
|
|
4516
|
+
._activity-message_vitro-value_O4DpuTR > .vitro-flex {
|
|
4467
4517
|
grid-gap: 4px;
|
|
4468
4518
|
}
|
|
4469
4519
|
|
|
4470
|
-
._activity-message_vitro-
|
|
4520
|
+
._activity-message_vitro-value_O4DpuTR > .vitro-flex > div {
|
|
4471
4521
|
width: 20px;
|
|
4472
4522
|
min-width: 20px;
|
|
4473
4523
|
height: 20px;
|
package/dist/index.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ import { Criterion } from './controls/Criterion/Criterion';
|
|
|
68
68
|
import { SearchCriterion } from './controls/Search/SearchCriterion';
|
|
69
69
|
import { Search } from './controls/Search/Search';
|
|
70
70
|
import { FieldIterator } from './controls/FieldIterator/FieldIterator';
|
|
71
|
+
import { Tooltip } from './controls/Tooltip/Tooltip';
|
|
72
|
+
import * as TOOLTIP from './controls/Tooltip/TooltipConstants';
|
|
71
73
|
export { Breadcrumbs };
|
|
72
74
|
export { TopLevelMenu };
|
|
73
75
|
export { TreeView, TreeViewContext, TREE_VIEW };
|
|
@@ -108,3 +110,4 @@ export { ImagePicker };
|
|
|
108
110
|
export { Criterion };
|
|
109
111
|
export { Search, SearchCriterion };
|
|
110
112
|
export { FieldIterator };
|
|
113
|
+
export { Tooltip, TOOLTIP };
|