@vitrosoftware/common-ui-ts 1.1.51 → 1.1.53

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.
Files changed (32) hide show
  1. package/css/std/controls/checkbox/checkbox.css +2 -2
  2. package/css/std/controls/search/checkbox-list.css +11 -0
  3. package/css/std/controls/search/input.css +55 -18
  4. package/css/std/controls/search/search.css +8 -1
  5. package/css/std/controls/table-view/treegrid.css +11 -8
  6. package/css/std/controls/tooltip/tooltip.css +3 -0
  7. package/dist/constants/Control.d.ts +10 -0
  8. package/dist/controls/Checkbox/Checkbox.d.ts +1 -1
  9. package/dist/controls/Criterion/Condition.d.ts +6 -0
  10. package/dist/controls/Criterion/ConditionSelect.d.ts +3 -6
  11. package/dist/controls/Criterion/Criterion.d.ts +6 -10
  12. package/dist/controls/Criterion/Operator.d.ts +4 -0
  13. package/dist/controls/DatePicker/DatePicker.d.ts +2 -0
  14. package/dist/controls/FieldIterator/FieldIterator.d.ts +1 -1
  15. package/dist/controls/LookupPicker/LookupPicker.d.ts +1 -0
  16. package/dist/controls/Search/Filter.d.ts +6 -10
  17. package/dist/controls/Search/Input.d.ts +1 -1
  18. package/dist/controls/Search/Search.d.ts +6 -10
  19. package/dist/controls/TableView/TableViewConstants.d.ts +4 -1
  20. package/dist/controls/TableView/TableViewContext.d.ts +1 -0
  21. package/dist/controls/TableView/TreeGridTableViewContextImpl.d.ts +1 -0
  22. package/dist/controls/TimePicker/TimePicker.d.ts +2 -0
  23. package/dist/controls/UserLookupPicker/UserLookupPicker.d.ts +1 -0
  24. package/dist/index.css +80 -23
  25. package/dist/index.d.ts +2 -0
  26. package/dist/index.js +204 -74
  27. package/dist/index.js.map +1 -1
  28. package/package.json +1 -1
  29. package/dist/EventConstants.d.ts +0 -4
  30. package/dist/index.modern.js +0 -64186
  31. package/dist/index.modern.js.map +0 -1
  32. package/dist/index.test.d.ts +0 -1
package/dist/index.css CHANGED
@@ -2103,8 +2103,8 @@
2103
2103
  ._checkbox_vitro-checkbox-content_2fBG1zl input:checked::before {
2104
2104
  content: '';
2105
2105
  display: block;
2106
- width: 24px;
2107
- height: 24px;
2106
+ width: 100%;
2107
+ height: 100%;
2108
2108
  background: #fff;
2109
2109
  background-size: 100%;
2110
2110
  background-position: center;
@@ -4439,6 +4439,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4439
4439
 
4440
4440
  ._tooltip_vitro-tooltip_JvGPShz {
4441
4441
  display: none !important;
4442
+ opacity: 1;
4442
4443
  }
4443
4444
 
4444
4445
  ._tooltip_vitro-tooltip_JvGPShz[style*='transform'] {
@@ -4455,6 +4456,8 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4455
4456
  background: #4A556C;
4456
4457
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
4457
4458
  max-width: 224px;
4459
+ text-align: left;
4460
+ white-space: pre-wrap;
4458
4461
  }
4459
4462
 
4460
4463
  ._tooltip_vitro-tooltip_JvGPShz .tooltip-arrow::before {
@@ -4955,7 +4958,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4955
4958
  ._input_vitro-control__btu7j_ {
4956
4959
  height: 32px;
4957
4960
  border-radius: 4px;
4958
- border: 1px solid #4A556C;
4961
+ border: 1px solid #C0CAD5;
4959
4962
  padding: 4px 8px;
4960
4963
  display: flex;
4961
4964
  align-items: center;
@@ -4971,46 +4974,54 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4971
4974
 
4972
4975
  ._input_vitro-control__btu7j_ input {
4973
4976
  border: none;
4977
+ width: 100%;
4974
4978
  }
4975
4979
 
4976
4980
  ._input_vitro-control__btu7j_ input::-moz-placeholder {
4977
- color: #8E98A3;
4981
+ color: #4A556C;
4978
4982
  font-size: 14px;
4979
4983
  line-height: 16px;
4980
4984
  font-weight: 400 !important;
4981
4985
  }
4982
4986
 
4983
4987
  ._input_vitro-control__btu7j_ input::placeholder {
4984
- color: #8E98A3;
4988
+ color: #4A556C;
4985
4989
  font-size: 14px;
4986
4990
  line-height: 16px;
4987
4991
  font-weight: 400 !important;
4988
4992
  }
4989
4993
 
4990
- ._input_vitro-search-value-list_2I_KVY5 {
4991
- display: flex;
4992
- align-items: center;
4993
- flex: 1 1;
4994
- overflow: hidden;
4995
- }
4996
-
4997
- ._input_vitro-search-value-list_2I_KVY5::before {
4998
- content: '';
4994
+ ._input_vitro-button-search_15PeWCS {
4999
4995
  width: 24px;
5000
4996
  height: 24px;
4997
+ border: none;
4998
+ outline: none;
5001
4999
  flex-shrink: 0;
5000
+ background-color: #fff;
5002
5001
  background-size: 100%;
5003
5002
  background-position: center;
5004
5003
  margin-right: 8px;
5005
- /* search-grey.svg URL-encoder for SVG */
5006
- 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");
5007
- }
5008
-
5009
- ._input_vitro-active_jxhGdE8 ._input_vitro-search-value-list_2I_KVY5::before {
5010
5004
  /* search.svg URL-encoder for SVG */
5011
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");
5012
5006
  }
5013
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
+
5014
5025
  ._input_vitro-button-cancel_YqNZPj-,
5015
5026
  ._input_vitro-button-settings_1w9FwYt,
5016
5027
  ._input_vitro-button-cancel_YqNZPj-:hover,
@@ -5022,7 +5033,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5022
5033
  background-size: 100%;
5023
5034
  background-position: center;
5024
5035
  margin-left: 8px;
5025
- background-color: #fff;
5036
+ background-color: transparent;
5026
5037
  }
5027
5038
 
5028
5039
  ._input_vitro-button-settings_1w9FwYt {
@@ -5044,7 +5055,11 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5044
5055
  ._input_vitro-search-value_1ZbcNTJ {
5045
5056
  border-radius: 4px;
5046
5057
  background: #F7F9FC;
5047
- padding: 4px;
5058
+ display: flex;
5059
+ align-items: center;
5060
+ min-width: 0;
5061
+ grid-gap: 8px;
5062
+ padding: 0 4px;
5048
5063
  font-size: 14px;
5049
5064
  line-height: 16px;
5050
5065
  margin-right: 4px;
@@ -5052,7 +5067,31 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5052
5067
  overflow: hidden;
5053
5068
  text-overflow: ellipsis;
5054
5069
  }
5055
-
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
+ }
5056
5095
  .vitro-inline {
5057
5096
  display: inline-flex;
5058
5097
  flex: 1 1;
@@ -5076,7 +5115,6 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5076
5115
  align-self: baseline;
5077
5116
  margin-right: 16px;
5078
5117
  margin-left: auto;
5079
- max-width: 50%;
5080
5118
  }
5081
5119
 
5082
5120
  ._search_vitro-settings-dialog_1_c5bIg {
@@ -5102,6 +5140,7 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5102
5140
 
5103
5141
  ._search_vitro-add-field_2hHt1Z2 {
5104
5142
  position: relative;
5143
+ margin-bottom: 16px;
5105
5144
  }
5106
5145
 
5107
5146
  ._search_vitro-add-field-button_30hdXYn,
@@ -5141,12 +5180,19 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5141
5180
  background: #fff !important;
5142
5181
  color: #222D44 !important;
5143
5182
  font-family: 'InterRegular' !important;
5183
+ border: 1px solid #E4E6EC !important;
5144
5184
  }
5145
5185
 
5146
5186
  ._search_vitro-button-cancel_1M8UkMM:hover,
5147
5187
  ._search_vitro-button-cancel_1M8UkMM:active {
5148
5188
  background: #F3F8FF !important;
5149
5189
  }
5190
+
5191
+ @media (max-width: 800px) {
5192
+ ._search_vitro-filter_2n-Y-mS {
5193
+ width: 100%;
5194
+ }
5195
+ }
5150
5196
 
5151
5197
  ._checkbox-list_vitro-checkbox-list_1iZSkkv {
5152
5198
  border-radius: 4px;
@@ -5157,10 +5203,21 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5157
5203
  ._checkbox-list_vitro-checkbox-list_1iZSkkv ._checkbox-list_vitro-control_cxgm4cj {
5158
5204
  margin-bottom: 8px;
5159
5205
  margin-right: 12px;
5206
+ width: unset !important;
5207
+ }
5208
+
5209
+ ._checkbox-list_vitro-checkbox-list_1iZSkkv ._checkbox-list_vitro-control_cxgm4cj > div {
5210
+ width: unset !important;
5160
5211
  }
5161
5212
 
5162
5213
  ._checkbox-list_vitro-checkbox-list_1iZSkkv ._checkbox-list_vitro-checkbox_1EqsnoQ {
5163
5214
  margin-bottom: 4px;
5215
+ height: 24px;
5216
+ }
5217
+
5218
+ ._checkbox-list_vitro-checkbox-list_1iZSkkv ._checkbox-list_vitro-checkbox_1EqsnoQ input {
5219
+ width: 16px;
5220
+ height: 16px;
5164
5221
  }
5165
5222
 
5166
5223
  ._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 };