@vitrosoftware/common-ui-ts 1.1.207 → 1.1.209

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>
@@ -1,17 +1,27 @@
1
1
  .vitro-alert {
2
2
  border: 0;
3
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
4
+ border-radius: 4px;
5
+ display: flex;
6
+ flex-wrap: wrap;
7
+ justify-content: space-between;
8
+ gap: 12px;
9
+ }
10
+
11
+ .vitro-position-absolute {
3
12
  z-index: 1000;
4
13
  position: absolute;
5
14
  right: 0;
6
15
  width: 450px;
7
- box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
8
- border-radius: 4px;
9
16
  }
10
17
 
11
18
  .vitro-alert :global(.alert) {
12
19
  margin-bottom: 0;
13
20
  padding: 12px;
14
21
  border-radius: 4px;
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: 12px;
15
25
  }
16
26
 
17
27
  :global(#Timesheets) .vitro-alert {
@@ -48,7 +58,6 @@
48
58
  background-position: center;
49
59
  background-size: 100%;
50
60
  background-repeat: no-repeat;
51
- align-self: center;
52
61
  }
53
62
 
54
63
  .vitro-text {
@@ -59,6 +68,7 @@
59
68
  color: #4A556C;
60
69
  flex-direction: column;
61
70
  overflow: hidden;
71
+ white-space: pre-wrap;
62
72
  }
63
73
 
64
74
  .vitro-text > strong {
@@ -1,11 +1,5 @@
1
1
  .vitro-button {
2
- font-family: 'InterMedium';
3
- font-size: 14px;
4
2
  outline: none;
5
- height: 32px;
6
- min-width: 85px;
7
- color: #fff;
8
- background: #347FDE;
9
3
  border: none;
10
4
  border-radius: 4px;
11
5
  cursor: pointer;
@@ -13,8 +7,11 @@
13
7
  display: flex;
14
8
  align-items: center;
15
9
  justify-content: center;
10
+ font-size: 14px;
16
11
  line-height: 16px;
17
- padding: 4px 8px;
12
+ padding: 4px 16px;
13
+ height: 32px;
14
+ min-width: 85px;
18
15
  }
19
16
 
20
17
  .vitro-button > div {
@@ -23,28 +20,18 @@
23
20
  justify-content: center;
24
21
  flex: 1 1;
25
22
  overflow: hidden;
23
+ gap: 4px;
26
24
  }
27
25
 
28
26
  .vitro-button > div > div {
29
27
  text-overflow: ellipsis;
30
28
  white-space: nowrap;
31
29
  overflow: hidden;
32
- }
33
-
34
- .vitro-button:hover,
35
- .vitro-button:active,
36
- .vitro-button:focus {
37
- background: #3274E0;
38
- }
39
-
40
- .vitro-button:disabled {
41
- background: #E4E6EC;
42
30
  }
43
31
 
44
32
  .vitro-button :global(.vitro-image-default),
45
33
  .vitro-button :global(.vitro-image-hover),
46
34
  .vitro-button :global(.vitro-image) {
47
- margin-right: 4px;
48
35
  height: 24px;
49
36
  width: 24px;
50
37
  }
@@ -73,4 +60,68 @@
73
60
 
74
61
  :global(.vitro-display-none) {
75
62
  display: none;
63
+ }
64
+
65
+ .vitro-button:global(.vitro-primary) {
66
+ font-family: 'InterMedium';
67
+ color: #fff;
68
+ background: #347FDE;
69
+ }
70
+
71
+ .vitro-button:global(.vitro-primary):hover,
72
+ .vitro-button:global(.vitro-primary):active,
73
+ .vitro-button:global(.vitro-primary):focus {
74
+ background: #3274E0;
75
+ }
76
+
77
+ .vitro-button:global(.vitro-primary):disabled {
78
+ background: #E4E6EC;
79
+ }
80
+
81
+ .vitro-button:global(.vitro-outline-primary) {
82
+ background: #fff;
83
+ border: 1px solid #0060D9;
84
+ color: #0060D9;
85
+ font-family: 'InterRegular';
86
+ }
87
+
88
+ .vitro-button:global(.vitro-outline-primary):hover,
89
+ .vitro-button:global(.vitro-outline-primary):active,
90
+ .vitro-button:global(.vitro-outline-primary):focus {
91
+ background: #3274E0;
92
+ border: 1px solid #3274E0;
93
+ color: #fff;
94
+ }
95
+
96
+ .vitro-button:global(.vitro-outline-primary):disabled {
97
+ background: #fff;
98
+ border: 1px solid #8E98A3;
99
+ color: #8E98A3;
100
+ }
101
+
102
+ .vitro-button:global(.vitro-outline-light) {
103
+ background: #fff;
104
+ color: #222D44;
105
+ border: 1px solid #E4E6EC;
106
+ font-family: 'InterRegular';
107
+ }
108
+
109
+ .vitro-button:global(.vitro-outline-light):hover,
110
+ .vitro-button:global(.vitro-outline-light):active,
111
+ .vitro-button:global(.vitro-outline-light):focus {
112
+ background: #F3F8FF;
113
+ }
114
+
115
+ .vitro-button:global(.vitro-light) {
116
+ background: #fff;
117
+ border: none;
118
+ color: #222D44;
119
+ font-family: 'InterRegular';
120
+ padding: 4px 8px;
121
+ }
122
+
123
+ .vitro-button:global(.vitro-light):hover,
124
+ .vitro-button:global(.vitro-light):active,
125
+ .vitro-button:global(.vitro-light):focus {
126
+ background: #F3F8FF;
76
127
  }
@@ -1,25 +1,3 @@
1
- .vitro-command-menu-button {
2
- font-family: 'InterRegular' !important;
3
- border: none !important;
4
- color: #222D44 !important;
5
- background: #fff !important;
6
- padding: 4px 8px !important;
7
- }
8
-
9
- .vitro-command-menu-button:hover,
10
- .vitro-command-menu-button:active {
11
- background: #F3F8FF !important;
12
- }
13
-
14
- .vitro-command-menu-button > div {
15
- gap: 4px;
16
- }
17
-
18
- .vitro-image {
19
- width: 24px;
20
- height: 24px;
21
- }
22
-
23
1
  @media (max-width: 800px) {
24
2
  .vitro-command-menu-button .vitro-image + div {
25
3
  display: none;
@@ -148,30 +148,30 @@
148
148
  margin-left: -8px;
149
149
  }
150
150
 
151
- :global(.vitro-button-active) {
151
+ :global(.vitro-addon-button) {
152
152
  border: 1px solid #4292F7 !important;
153
153
  }
154
154
 
155
- :global(.vitro-button-active:hover),
156
- :global(.vitro-button-active:active) {
155
+ :global(.vitro-addon-button:hover),
156
+ :global(.vitro-addon-button:active) {
157
157
  border-color: #3274E0 !important;
158
158
  background: #3274E0;
159
159
  color: #fff;
160
160
  }
161
161
 
162
- :global(.vitro-button-context) {
162
+ :global(.vitro-context-button) {
163
163
  padding: 0 !important;
164
164
  width: 24px;
165
165
  background-color: #fff !important;
166
166
  }
167
167
 
168
- :global(.vitro-button-context > div),
169
- :global(.vitro-button-context img) {
168
+ :global(.vitro-context-button > div),
169
+ :global(.vitro-context-button img) {
170
170
  margin: 0 !important;
171
171
  }
172
172
 
173
- :global(.vitro-button-context:hover),
174
- :global(.vitro-button-context:active) {
173
+ :global(.vitro-context-button:hover),
174
+ :global(.vitro-context-button:active) {
175
175
  border-color: #fff !important;
176
176
  }
177
177
 
@@ -179,6 +179,28 @@
179
179
  max-height: 288px;
180
180
  }
181
181
 
182
+ .vitro-dropdown-button-container :global(.vitro-primary) {
183
+ font-family: 'InterMedium';
184
+ color: #fff;
185
+ background: #347FDE;
186
+ }
187
+
188
+ .vitro-dropdown-button-container :global(.vitro-primary) {
189
+ font-family: 'InterMedium';
190
+ color: #fff;
191
+ background: #347FDE;
192
+ }
193
+
194
+ .vitro-dropdown-button-container :global(.vitro-primary):hover,
195
+ .vitro-dropdown-button-container :global(.vitro-primary):active,
196
+ .vitro-dropdown-button-container :global(.vitro-primary):focus {
197
+ background: #3274E0;
198
+ }
199
+
200
+ .vitro-dropdown-button-container :global(.vitro-primary):disabled {
201
+ background: #E4E6EC;
202
+ }
203
+
182
204
  @media (max-width: 800px) {
183
205
  .vitro-command-menu-dropdown-button .vitro-image + div {
184
206
  display: none;
@@ -192,7 +214,7 @@
192
214
  display: block;
193
215
  }
194
216
 
195
- :global(.vitro-button-context) {
217
+ :global(.vitro-context-button) {
196
218
  min-width: 32px !important;
197
219
  width: 32px;
198
220
  }
@@ -1,14 +1,4 @@
1
1
  .vitro-item {
2
2
  display: flex;
3
3
  align-items: center;
4
- }
5
-
6
- li:first-child .vitro-item {
7
- background: #347FDE;
8
- font-family: 'InterMedium';
9
- color: #fff;
10
- }
11
-
12
- li:first-child .vitro-item:hover {
13
- background: #3274E0;
14
4
  }
@@ -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
+ }