@vitrosoftware/common-ui-ts 1.1.44 → 1.1.45
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/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 +56 -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
|
|
|
@@ -4383,7 +4384,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4383
4384
|
|
|
4384
4385
|
._activity-item_vitro-content_3Lt7XRy {
|
|
4385
4386
|
width: 100%;
|
|
4386
|
-
|
|
4387
|
+
min-width: 0;
|
|
4387
4388
|
}
|
|
4388
4389
|
|
|
4389
4390
|
._activity-item_vitro-content_3Lt7XRy p {
|
|
@@ -4429,6 +4430,56 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4429
4430
|
margin-right: 8px;
|
|
4430
4431
|
}
|
|
4431
4432
|
|
|
4433
|
+
._tooltip_vitro-tooltip_JvGPShz {
|
|
4434
|
+
display: none !important;
|
|
4435
|
+
}
|
|
4436
|
+
|
|
4437
|
+
._tooltip_vitro-tooltip_JvGPShz[style*='transform'] {
|
|
4438
|
+
display: block !important;
|
|
4439
|
+
}
|
|
4440
|
+
|
|
4441
|
+
._tooltip_vitro-tooltip_JvGPShz .tooltip-inner {
|
|
4442
|
+
color: #FFF;
|
|
4443
|
+
font-family: 'InterRegular';
|
|
4444
|
+
font-size: 14px;
|
|
4445
|
+
line-height: 21px;
|
|
4446
|
+
padding: 8px 10px;
|
|
4447
|
+
border-radius: 4px;
|
|
4448
|
+
background: #4A556C;
|
|
4449
|
+
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
|
|
4450
|
+
max-width: 224px;
|
|
4451
|
+
}
|
|
4452
|
+
|
|
4453
|
+
._tooltip_vitro-tooltip_JvGPShz .tooltip-arrow::before {
|
|
4454
|
+
content: '';
|
|
4455
|
+
display: block;
|
|
4456
|
+
width: 16px;
|
|
4457
|
+
height: 13px;
|
|
4458
|
+
border: unset !important;
|
|
4459
|
+
background-size: 100%;
|
|
4460
|
+
background-position: center;
|
|
4461
|
+
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");
|
|
4462
|
+
}
|
|
4463
|
+
|
|
4464
|
+
._tooltip_vitro-tooltip_JvGPShz.bs-tooltip-top .tooltip-arrow::before {
|
|
4465
|
+
top: -3px;
|
|
4466
|
+
}
|
|
4467
|
+
|
|
4468
|
+
._tooltip_vitro-tooltip_JvGPShz.bs-tooltip-bottom .tooltip-arrow::before {
|
|
4469
|
+
bottom: -3px;
|
|
4470
|
+
transform: rotate(180deg);
|
|
4471
|
+
}
|
|
4472
|
+
|
|
4473
|
+
._tooltip_vitro-tooltip_JvGPShz.bs-tooltip-end .tooltip-arrow::before {
|
|
4474
|
+
right: -3px;
|
|
4475
|
+
transform: rotate(90deg);
|
|
4476
|
+
}
|
|
4477
|
+
|
|
4478
|
+
._tooltip_vitro-tooltip_JvGPShz.bs-tooltip-start .tooltip-arrow::before {
|
|
4479
|
+
left: -3px;
|
|
4480
|
+
transform: rotate(-90deg);
|
|
4481
|
+
}
|
|
4482
|
+
|
|
4432
4483
|
._activity-message_vitro-activity-message_3GdyQuC {
|
|
4433
4484
|
display: flex;
|
|
4434
4485
|
flex-direction: column;
|
|
@@ -4447,13 +4498,11 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4447
4498
|
white-space: nowrap;
|
|
4448
4499
|
}
|
|
4449
4500
|
|
|
4450
|
-
._activity-message_vitro-
|
|
4501
|
+
._activity-message_vitro-value_O4DpuTR {
|
|
4451
4502
|
font-family: 'InterMedium';
|
|
4452
4503
|
color: #222D44;
|
|
4453
4504
|
font-size: 14px;
|
|
4454
4505
|
line-height: 145%;
|
|
4455
|
-
width: -moz-fit-content;
|
|
4456
|
-
width: fit-content;
|
|
4457
4506
|
text-overflow: ellipsis;
|
|
4458
4507
|
overflow: hidden;
|
|
4459
4508
|
}
|
|
@@ -4463,11 +4512,11 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4463
4512
|
overflow: hidden;
|
|
4464
4513
|
}
|
|
4465
4514
|
|
|
4466
|
-
._activity-message_vitro-
|
|
4515
|
+
._activity-message_vitro-value_O4DpuTR > .vitro-flex {
|
|
4467
4516
|
grid-gap: 4px;
|
|
4468
4517
|
}
|
|
4469
4518
|
|
|
4470
|
-
._activity-message_vitro-
|
|
4519
|
+
._activity-message_vitro-value_O4DpuTR > .vitro-flex > div {
|
|
4471
4520
|
width: 20px;
|
|
4472
4521
|
min-width: 20px;
|
|
4473
4522
|
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 };
|