@vitrosoftware/common-ui-ts 1.1.50 → 1.1.52

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/dist/index.css CHANGED
@@ -50,60 +50,6 @@
50
50
  align-items: flex-start;
51
51
  }
52
52
  }
53
- ._scrollbar_vitro-scrollbar-content_3HXSt5u {
54
- height: 100%;
55
- width: 100%;
56
- }
57
-
58
- .ps {
59
- position: relative;
60
- width: 100%;
61
- height: 100%;
62
- }
63
-
64
- .ps__rail-y {
65
- background-color: #fff !important;
66
- width: 12px !important;
67
- border-left: 1px solid #F7F9FC;
68
- border-top: 1px solid #F7F9FC;
69
- opacity: 1 !important;
70
- }
71
-
72
- .ps__rail-x {
73
- background-color: #fff !important;
74
- height: 12px !important;
75
- border-top: 1px solid #F7F9FC;
76
- opacity: 1 !important;
77
- }
78
-
79
- .ps__thumb-x, .ps__thumb-y {
80
- background-color: #E4E6EC !important;
81
- border-radius: 4px;
82
- }
83
-
84
- .ps__thumb-y {
85
- width: 4px !important;
86
- right: 3px !important;
87
- }
88
-
89
- .ps__thumb-x {
90
- height: 4px !important;
91
- top: 3px !important;
92
- }
93
-
94
- .ps .ps__rail-x:hover, .ps .ps__rail-y:hover, .ps .ps__rail-x:focus,
95
- .ps .ps__rail-y:focus, .ps .ps__rail-x.ps--clicking, .ps .ps__rail-y.ps--clicking {
96
- background-color: #fff;
97
- opacity: 1;
98
- }
99
-
100
- .ps__rail-y:hover > .ps__thumb-y, .ps__rail-y:focus > .ps__thumb-y, .ps__rail-y.ps--clicking .ps__thumb-y {
101
- background-color: #E4E6EC;
102
- }
103
-
104
- .ps__rail-x:hover > .ps__thumb-x, .ps__rail-x:focus > .ps__thumb-x, .ps__rail-x.ps--clicking .ps__thumb-x {
105
- background-color: #E4E6EC;
106
- }
107
53
  ._breadcrumbs_vitro-breadcrumbs_3r4NcQY {
108
54
  display: flex;
109
55
  flex-direction: column;
@@ -112,6 +58,17 @@
112
58
  height: 24px;
113
59
  }
114
60
 
61
+ ._breadcrumbs_vitro-breadcrumbs_3r4NcQY li {
62
+ list-style-type: none;
63
+ display: flex;
64
+ align-items: center;
65
+ }
66
+
67
+ ._breadcrumbs_vitro-breadcrumbs_3r4NcQY li > div {
68
+ display: inline-flex;
69
+ align-items: center;
70
+ }
71
+
115
72
  ._breadcrumbs_vitro-breadcrumbs-list-wrap_1_JBrw0 {
116
73
  display: flex;
117
74
  position: relative;
@@ -136,8 +93,8 @@
136
93
  align-items: center;
137
94
  }
138
95
 
139
- ._breadcrumbs_vitro-breadcrumbs-list_1SNtgtJ > li::after, ._breadcrumbs_vitro-breadcrumbs-button_3fazq3c::after, ._breadcrumbs_vitro-root_1S5-6AY::after {
140
- content: '';
96
+ ._breadcrumbs_vitro-separator_3RKZZBc,
97
+ ._breadcrumbs_vitro-breadcrumbs-button_3fazq3c::after {
141
98
  display: inline-block;
142
99
  margin: 0 4px;
143
100
  height: 16px;
@@ -149,15 +106,17 @@
149
106
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12.1851C6 12.3633 6.21543 12.4525 6.34142 12.3265L10.5252 8.14272C10.6034 8.06462 10.6034 7.93799 10.5252 7.85988L6.34142 3.67606C6.21543 3.55006 6 3.6393 6 3.81748L6 12.1851Z' fill='%238E98A3'/%3E%3C/svg%3E%0A");
150
107
  }
151
108
 
109
+ ._breadcrumbs_vitro-breadcrumbs-button_3fazq3c::after {
110
+ content: '';
111
+ margin-left: 24px;
112
+ height: 20px;
113
+ }
114
+
152
115
  ._breadcrumbs_vitro-breadcrumbs-list_1SNtgtJ > li:last-child{
153
116
  color: #222D44;
154
117
  font-family: 'InterMedium';
155
118
  }
156
119
 
157
- ._breadcrumbs_vitro-breadcrumbs-list_1SNtgtJ > li:last-child::after {
158
- display: none;
159
- }
160
-
161
120
  ._breadcrumbs_vitro-breadcrumbs-button_3fazq3c {
162
121
  height: 20px;
163
122
  width: 20px;
@@ -172,21 +131,17 @@
172
131
 
173
132
  ._breadcrumbs_vitro-root_1S5-6AY {
174
133
  cursor: pointer;
175
- margin-right: 24px;
176
134
  list-style-type: none;
177
135
  line-height: 16px;
178
136
  background-repeat: no-repeat;
179
137
  width: 20px;
138
+ height: 20px;
139
+ display: inline-block;
180
140
  background-size: 100%;
181
141
  /* root-folder.svg URL-encoder for SVG */
182
142
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6464 5.35355C10.7402 5.44732 10.8674 5.5 11 5.5H19C20.3807 5.5 21.5 6.61929 21.5 8V18C21.5 19.3807 20.3807 20.5 19 20.5H5C3.61929 20.5 2.5 19.3807 2.5 18V6C2.5 4.61929 3.61929 3.5 5 3.5H7.75736C8.4204 3.5 9.05629 3.76339 9.52513 4.23223L10.6464 5.35355Z' stroke='%23999B9D' stroke-linejoin='round'/%3E%3Cpath d='M8 16L12 10' stroke='%23999B9D' stroke-linecap='round'/%3E%3Cpath d='M12 16L16 16' stroke='%23999B9D' stroke-linecap='round'/%3E%3C/svg%3E%0A") !important;
183
143
  }
184
144
 
185
- ._breadcrumbs_vitro-root_1S5-6AY::after, ._breadcrumbs_vitro-breadcrumbs-button_3fazq3c::after {
186
- margin-left: 24px;
187
- height: 20px;
188
- }
189
-
190
145
  ._breadcrumbs_vitro-drop-down-list_2PhrR2a {
191
146
  z-index: 1000;
192
147
  background: white;
@@ -225,6 +180,7 @@
225
180
  color: #4A556C;
226
181
  margin-bottom: 0px;
227
182
  overflow: hidden;
183
+ border-radius: 4px;
228
184
  }
229
185
 
230
186
  ._breadcrumbs_vitro-drop-down-list_2PhrR2a ul li {
@@ -243,6 +199,60 @@
243
199
  margin-bottom: 12px;
244
200
  }
245
201
  }
202
+ ._scrollbar_vitro-scrollbar-content_3HXSt5u {
203
+ height: 100%;
204
+ width: 100%;
205
+ }
206
+
207
+ .ps {
208
+ position: relative;
209
+ width: 100%;
210
+ height: 100%;
211
+ }
212
+
213
+ .ps__rail-y {
214
+ background-color: #fff !important;
215
+ width: 12px !important;
216
+ border-left: 1px solid #F7F9FC;
217
+ border-top: 1px solid #F7F9FC;
218
+ opacity: 1 !important;
219
+ }
220
+
221
+ .ps__rail-x {
222
+ background-color: #fff !important;
223
+ height: 12px !important;
224
+ border-top: 1px solid #F7F9FC;
225
+ opacity: 1 !important;
226
+ }
227
+
228
+ .ps__thumb-x, .ps__thumb-y {
229
+ background-color: #E4E6EC !important;
230
+ border-radius: 4px;
231
+ }
232
+
233
+ .ps__thumb-y {
234
+ width: 4px !important;
235
+ right: 3px !important;
236
+ }
237
+
238
+ .ps__thumb-x {
239
+ height: 4px !important;
240
+ top: 3px !important;
241
+ }
242
+
243
+ .ps .ps__rail-x:hover, .ps .ps__rail-y:hover, .ps .ps__rail-x:focus,
244
+ .ps .ps__rail-y:focus, .ps .ps__rail-x.ps--clicking, .ps .ps__rail-y.ps--clicking {
245
+ background-color: #fff;
246
+ opacity: 1;
247
+ }
248
+
249
+ .ps__rail-y:hover > .ps__thumb-y, .ps__rail-y:focus > .ps__thumb-y, .ps__rail-y.ps--clicking .ps__thumb-y {
250
+ background-color: #E4E6EC;
251
+ }
252
+
253
+ .ps__rail-x:hover > .ps__thumb-x, .ps__rail-x:focus > .ps__thumb-x, .ps__rail-x.ps--clicking .ps__thumb-x {
254
+ background-color: #E4E6EC;
255
+ }
246
256
  ._top-level-menu_vitro-top-level-menu_38-ZEUx {
247
257
  display: flex;
248
258
  justify-content: space-between;
@@ -1765,6 +1775,7 @@
1765
1775
  ._input_vitro-control_1DmPFkF input,
1766
1776
  ._input_vitro-control_1DmPFkF textarea {
1767
1777
  width: 100%;
1778
+ min-height: 40px;
1768
1779
  padding: 8px 16px;
1769
1780
  background: #fff;
1770
1781
  border: 1px solid #C0CAD5;
@@ -1776,7 +1787,6 @@
1776
1787
  }
1777
1788
 
1778
1789
  ._input_vitro-control_1DmPFkF input {
1779
- min-height: 40px;
1780
1790
  white-space: normal;
1781
1791
  }
1782
1792
 
@@ -2093,8 +2103,8 @@
2093
2103
  ._checkbox_vitro-checkbox-content_2fBG1zl input:checked::before {
2094
2104
  content: '';
2095
2105
  display: block;
2096
- width: 24px;
2097
- height: 24px;
2106
+ width: 100%;
2107
+ height: 100%;
2098
2108
  background: #fff;
2099
2109
  background-size: 100%;
2100
2110
  background-position: center;
@@ -4429,6 +4439,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4429
4439
 
4430
4440
  ._tooltip_vitro-tooltip_JvGPShz {
4431
4441
  display: none !important;
4442
+ opacity: 1;
4432
4443
  }
4433
4444
 
4434
4445
  ._tooltip_vitro-tooltip_JvGPShz[style*='transform'] {
@@ -4445,6 +4456,8 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4445
4456
  background: #4A556C;
4446
4457
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
4447
4458
  max-width: 224px;
4459
+ text-align: left;
4460
+ white-space: pre-wrap;
4448
4461
  }
4449
4462
 
4450
4463
  ._tooltip_vitro-tooltip_JvGPShz .tooltip-arrow::before {
@@ -4945,7 +4958,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4945
4958
  ._input_vitro-control__btu7j_ {
4946
4959
  height: 32px;
4947
4960
  border-radius: 4px;
4948
- border: 1px solid #4A556C;
4961
+ border: 1px solid #C0CAD5;
4949
4962
  padding: 4px 8px;
4950
4963
  display: flex;
4951
4964
  align-items: center;
@@ -4961,46 +4974,54 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4961
4974
 
4962
4975
  ._input_vitro-control__btu7j_ input {
4963
4976
  border: none;
4977
+ width: 100%;
4964
4978
  }
4965
4979
 
4966
4980
  ._input_vitro-control__btu7j_ input::-moz-placeholder {
4967
- color: #8E98A3;
4981
+ color: #4A556C;
4968
4982
  font-size: 14px;
4969
4983
  line-height: 16px;
4970
4984
  font-weight: 400 !important;
4971
4985
  }
4972
4986
 
4973
4987
  ._input_vitro-control__btu7j_ input::placeholder {
4974
- color: #8E98A3;
4988
+ color: #4A556C;
4975
4989
  font-size: 14px;
4976
4990
  line-height: 16px;
4977
4991
  font-weight: 400 !important;
4978
4992
  }
4979
4993
 
4980
- ._input_vitro-search-value-list_2I_KVY5 {
4981
- display: flex;
4982
- align-items: center;
4983
- flex: 1 1;
4984
- overflow: hidden;
4985
- }
4986
-
4987
- ._input_vitro-search-value-list_2I_KVY5::before {
4988
- content: '';
4994
+ ._input_vitro-button-search_15PeWCS {
4989
4995
  width: 24px;
4990
4996
  height: 24px;
4997
+ border: none;
4998
+ outline: none;
4991
4999
  flex-shrink: 0;
5000
+ background-color: #fff;
4992
5001
  background-size: 100%;
4993
5002
  background-position: center;
4994
5003
  margin-right: 8px;
4995
- /* search-grey.svg URL-encoder for SVG */
4996
- background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='circum:search'%3E%3Cpath id='Vector' d='M18.3236 18.8832C18.6858 19.2434 19.2449 18.6875 18.8827 18.3351L15.9297 15.3909C16.9656 14.2512 17.5381 12.7692 17.5361 11.233C17.5361 7.79544 14.725 5 11.2681 5C7.81118 5 5 7.79544 5 11.233C5 14.6705 7.81118 17.4659 11.2681 17.4659C12.8272 17.4659 14.2682 16.8943 15.3707 15.9468L18.3236 18.8832ZM5.78666 11.233C5.78666 8.22611 8.25136 5.78304 11.2673 5.78304C14.2911 5.78304 16.7479 8.22611 16.7479 11.233C16.7479 14.2398 14.2911 16.6829 11.2673 16.6829C8.25136 16.6829 5.78666 14.2398 5.78666 11.233Z' fill='%238E98A3'/%3E%3C/g%3E%3C/svg%3E%0A");
4997
- }
4998
-
4999
- ._input_vitro-active_jxhGdE8 ._input_vitro-search-value-list_2I_KVY5::before {
5000
5004
  /* search.svg URL-encoder for SVG */
5001
5005
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='circum:search'%3E%3Cpath id='Vector' d='M18.3236 18.8832C18.6858 19.2434 19.2449 18.6875 18.8827 18.3351L15.9297 15.3909C16.9656 14.2512 17.5381 12.7692 17.5361 11.233C17.5361 7.79544 14.725 5 11.2681 5C7.81118 5 5 7.79544 5 11.233C5 14.6705 7.81118 17.4659 11.2681 17.4659C12.8272 17.4659 14.2682 16.8943 15.3707 15.9468L18.3236 18.8832ZM5.78666 11.233C5.78666 8.22611 8.25136 5.78304 11.2673 5.78304C14.2911 5.78304 16.7479 8.22611 16.7479 11.233C16.7479 14.2398 14.2911 16.6829 11.2673 16.6829C8.25136 16.6829 5.78666 14.2398 5.78666 11.233Z' fill='%23222D44'/%3E%3C/g%3E%3C/svg%3E");
5002
5006
  }
5003
5007
 
5008
+ ._input_vitro-button-search_15PeWCS:hover,
5009
+ ._input_vitro-button-search_15PeWCS:active,
5010
+ ._input_vitro-button-search_15PeWCS:focus {
5011
+ background-color: #fff;
5012
+ }
5013
+
5014
+ ._input_vitro-active_jxhGdE8 ._input_vitro-search-value-list_2I_KVY5 {
5015
+ width: 262px;
5016
+ }
5017
+
5018
+ ._input_vitro-search-value-list_2I_KVY5 {
5019
+ display: flex;
5020
+ align-items: center;
5021
+ flex: 1 1;
5022
+ overflow: hidden;
5023
+ }
5024
+
5004
5025
  ._input_vitro-button-cancel_YqNZPj-,
5005
5026
  ._input_vitro-button-settings_1w9FwYt,
5006
5027
  ._input_vitro-button-cancel_YqNZPj-:hover,
@@ -5012,7 +5033,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5012
5033
  background-size: 100%;
5013
5034
  background-position: center;
5014
5035
  margin-left: 8px;
5015
- background-color: #fff;
5036
+ background-color: transparent;
5016
5037
  }
5017
5038
 
5018
5039
  ._input_vitro-button-settings_1w9FwYt {
@@ -5034,7 +5055,11 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5034
5055
  ._input_vitro-search-value_1ZbcNTJ {
5035
5056
  border-radius: 4px;
5036
5057
  background: #F7F9FC;
5037
- padding: 4px;
5058
+ display: flex;
5059
+ align-items: center;
5060
+ min-width: 0;
5061
+ grid-gap: 8px;
5062
+ padding: 0 4px;
5038
5063
  font-size: 14px;
5039
5064
  line-height: 16px;
5040
5065
  margin-right: 4px;
@@ -5042,7 +5067,31 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5042
5067
  overflow: hidden;
5043
5068
  text-overflow: ellipsis;
5044
5069
  }
5045
-
5070
+
5071
+ ._input_vitro-search-value_1ZbcNTJ ._input_vitro-button-cancel_YqNZPj- {
5072
+ margin: 0;
5073
+ /* close.svg URL-encoder for SVG */
5074
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='iconoir:cancel'%3E%3Cpath id='Vector' d='M6.75781 17.2438L12.0008 12.0008L17.2438 17.2438M17.2438 6.75781L11.9998 12.0008L6.75781 6.75781' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
5075
+ }
5076
+
5077
+ @media (max-width: 800px) {
5078
+ ._input_vitro-control__btu7j_,
5079
+ ._input_vitro-control__btu7j_._input_vitro-active_jxhGdE8 {
5080
+ border: none;
5081
+ padding: 0;
5082
+ }
5083
+
5084
+ ._input_vitro-button-search_15PeWCS {
5085
+ margin: 0;
5086
+ height: 32px;
5087
+ width: 32px;
5088
+ border-radius: 4px;
5089
+ }
5090
+
5091
+ ._input_vitro-active_jxhGdE8._input_vitro-button-search_15PeWCS {
5092
+ background-color: #DCEEFF;
5093
+ }
5094
+ }
5046
5095
  .vitro-inline {
5047
5096
  display: inline-flex;
5048
5097
  flex: 1 1;
@@ -5066,7 +5115,6 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5066
5115
  align-self: baseline;
5067
5116
  margin-right: 16px;
5068
5117
  margin-left: auto;
5069
- max-width: 50%;
5070
5118
  }
5071
5119
 
5072
5120
  ._search_vitro-settings-dialog_1_c5bIg {
@@ -5092,6 +5140,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5092
5140
 
5093
5141
  ._search_vitro-add-field_2hHt1Z2 {
5094
5142
  position: relative;
5143
+ margin-bottom: 16px;
5095
5144
  }
5096
5145
 
5097
5146
  ._search_vitro-add-field-button_30hdXYn,
@@ -5131,12 +5180,19 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5131
5180
  background: #fff !important;
5132
5181
  color: #222D44 !important;
5133
5182
  font-family: 'InterRegular' !important;
5183
+ border: 1px solid #E4E6EC !important;
5134
5184
  }
5135
5185
 
5136
5186
  ._search_vitro-button-cancel_1M8UkMM:hover,
5137
5187
  ._search_vitro-button-cancel_1M8UkMM:active {
5138
5188
  background: #F3F8FF !important;
5139
5189
  }
5190
+
5191
+ @media (max-width: 800px) {
5192
+ ._search_vitro-filter_2n-Y-mS {
5193
+ width: 100%;
5194
+ }
5195
+ }
5140
5196
 
5141
5197
  ._checkbox-list_vitro-checkbox-list_1iZSkkv {
5142
5198
  border-radius: 4px;
@@ -5151,6 +5207,12 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5151
5207
 
5152
5208
  ._checkbox-list_vitro-checkbox-list_1iZSkkv ._checkbox-list_vitro-checkbox_1EqsnoQ {
5153
5209
  margin-bottom: 4px;
5210
+ height: 24px;
5211
+ }
5212
+
5213
+ ._checkbox-list_vitro-checkbox-list_1iZSkkv ._checkbox-list_vitro-checkbox_1EqsnoQ input {
5214
+ width: 16px;
5215
+ height: 16px;
5154
5216
  }
5155
5217
 
5156
5218
  ._checkbox-list_vitro-checkbox_1EqsnoQ:last-child,
package/dist/index.d.ts CHANGED
@@ -61,6 +61,7 @@ import { ActivityItem, ActivityItemProps } from './controls/ActivityItem/Activit
61
61
  import { ActivityMessage } from './controls/ActivityItem/ActivityMessage';
62
62
  import { Icon } from './controls/Icon/Icon';
63
63
  import { EVENT } from './constants/Event';
64
+ import { CONTROL } from './constants/Control';
64
65
  import { ScrollBar } from './controls/ScrollBar/ScrollBar';
65
66
  import { MessageInput } from './controls/MessageInput/MessageInput';
66
67
  import { ImagePicker } from './controls/ImagePicker/ImagePicker';
@@ -111,3 +112,4 @@ export { Criterion };
111
112
  export { Search, SearchCriterion };
112
113
  export { FieldIterator };
113
114
  export { Tooltip, TOOLTIP };
115
+ export { CONTROL };