@vitrosoftware/common-ui-ts 1.1.19 → 1.1.20

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
@@ -18,7 +18,7 @@
18
18
 
19
19
  .vitro-title {
20
20
  font-size: 20px;
21
- font-family: 'InterMedium';
21
+ font-family: 'InterRegular';
22
22
  line-height: 24px;
23
23
  margin-right: 24px;
24
24
  margin-bottom: 14px;
@@ -445,7 +445,7 @@
445
445
  bottom: 24px;
446
446
  right: 24px;
447
447
  position: absolute;
448
- transition: all 1s ease;
448
+ transition: all 0.1s ease;
449
449
  width: 241px;
450
450
  height: 96px;
451
451
  z-index: 10000000000000;
@@ -704,9 +704,9 @@
704
704
  background-repeat: no-repeat;
705
705
  border: none;
706
706
  outline: none;
707
- width: 16px;
708
- height: 16px;
709
- top: 16px;
707
+ width: 24px;
708
+ height: 24px;
709
+ top: 12px;
710
710
  }
711
711
 
712
712
  ._uploader_vitro-uploader_237vX7T ._uploader_vitro-button-close_30As0AM {
@@ -717,14 +717,14 @@
717
717
 
718
718
  ._uploader_vitro-button-show_uUmWVJc {
719
719
  /* show.svg URL-encoder for SVG */
720
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.66406 9.66406L7.99739 6.33073L11.3307 9.66406' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
721
- right: 40px;
720
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect width='24' height='24' rx='4' transform='matrix(0 1 1 0 0 0)' fill='white'/%3E%3Cpath d='M20 15L12 7L4 15' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
721
+ right: 48px;
722
722
  }
723
723
 
724
724
  ._uploader_vitro-button-hide_LYS1px9 {
725
725
  /* hide.svg URL-encoder for SVG */
726
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M11.3359 6.33594L8.0026 9.66927L4.66927 6.33594' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
727
- right: 40px;
726
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect width='24' height='24' rx='4' transform='matrix(1.19249e-08 -1 -1 -1.19249e-08 24 24)' fill='white'/%3E%3Cpath d='M4 9L12 17L20 9' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
727
+ right: 48px;
728
728
  }
729
729
 
730
730
  ._uploader_vitro-uploader_237vX7T .k-upload .k-dropzone .k-upload-status {
@@ -841,7 +841,9 @@
841
841
 
842
842
  ._uploader_vitro-uploader_237vX7T #vitro-uploader-title {
843
843
  display: flex;
844
- width: 176px;
844
+ width: -moz-fit-content;
845
+ width: fit-content;
846
+ max-width: 80%;
845
847
  align-items: center;
846
848
  justify-content: space-between;
847
849
  font-family: 'InterMedium';
@@ -857,6 +859,7 @@
857
859
  display: inline-block !important;
858
860
  width: 24px;
859
861
  height: 24px;
862
+ margin-left: 12px;
860
863
  background-position: center;
861
864
  background-size: 100%;
862
865
  display: none;
@@ -866,7 +869,6 @@
866
869
 
867
870
  ._uploader_vitro-uploader_237vX7T .vitro-upload-complete #vitro-uploader-title {
868
871
  display: flex;
869
- width: 176px;
870
872
  align-items: center;
871
873
  justify-content: space-between;
872
874
  margin-bottom: 0;
@@ -916,8 +918,12 @@
916
918
  }
917
919
 
918
920
 
921
+ .vitro-display-none {
922
+ display: none;
923
+ }
924
+
919
925
  ._button_vitro-button_hVfBuSO {
920
- font-family: 'InterSemiBold';
926
+ font-family: 'InterMeduim';
921
927
  font-size: 14px;
922
928
  outline: none;
923
929
  height: 32px;
@@ -3193,7 +3199,7 @@
3193
3199
 
3194
3200
  li:first-child ._command-menu-item_vitro-item_2pVhk23 {
3195
3201
  background: #347FDE;
3196
- font-family: 'InterSemiBold';
3202
+ font-family: 'InterMedium';
3197
3203
  color: #fff;
3198
3204
  }
3199
3205
 
@@ -3429,14 +3435,6 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
3429
3435
  width: 32px;
3430
3436
  }
3431
3437
  }
3432
- ._sidebar-item_vitro-active_7p5iOhY {
3433
- background-color: #DCEEFF;
3434
- }
3435
-
3436
- ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
3437
- background-color: transparent;
3438
- }
3439
-
3440
3438
  ._sidebar-item_vitro-icon-text_3ROhyLK {
3441
3439
  display: none;
3442
3440
  color: #222D44;
@@ -3452,6 +3450,18 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
3452
3450
  display: none;
3453
3451
  }
3454
3452
 
3453
+ ._sidebar-item_vitro-active_7p5iOhY {
3454
+ background-color: #DCEEFF;
3455
+ }
3456
+
3457
+ ._sidebar-item_vitro-hover_1mECzme ._sidebar-item_vitro-icon-text_3ROhyLK {
3458
+ color: #326AD6;
3459
+ }
3460
+
3461
+ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
3462
+ background-color: transparent;
3463
+ }
3464
+
3455
3465
  ._sidebar-item_vitro-active_7p5iOhY ._sidebar-item_vitro-icon-text_3ROhyLK,
3456
3466
  ._sidebar-item_vitro-active_7p5iOhY ._sidebar-item_vitro-item-text_1kK_aIZ {
3457
3467
  color: #326AD6;
@@ -3486,10 +3496,6 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
3486
3496
  display: block;
3487
3497
  }
3488
3498
 
3489
- ._sidebar-item_vitro-active_7p5iOhY {
3490
- background-color: #DCEEFF;
3491
- }
3492
-
3493
3499
  .vitro-bottom-menu ._sidebar-item_vitro-item-text_1kK_aIZ {
3494
3500
  display: block;
3495
3501
  color: #4A556C;
@@ -4119,4 +4125,102 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4119
4125
  ._user-profile_vitro-dropdown-item_dSErsta:hover,
4120
4126
  ._user-profile_vitro-dropdown-item_dSErsta:active {
4121
4127
  background: #DCEEFF;
4122
- }
4128
+ }
4129
+ ._activity_vitro-title_1rdvvaa {
4130
+ color: #bdbdbd;
4131
+ margin-bottom: 12px;
4132
+ text-align: center;
4133
+ }
4134
+
4135
+ ._activity_vitro-title_1rdvvaa > h3 {
4136
+ text-transform: uppercase;
4137
+ font-size: 12pt;
4138
+ margin: 0;
4139
+ }
4140
+
4141
+ ._activity_vitro-dropdown-button_12258nJ {
4142
+ position: absolute;
4143
+ right: 0;
4144
+ }
4145
+
4146
+ ._activity_vitro-activity_1u7YeF3 .preview-roller-wrapper {
4147
+ height: 100px;
4148
+ position: relative;
4149
+ }
4150
+
4151
+ ._activity-item_vitro-item_3Tprske {
4152
+ margin-bottom: 22px;
4153
+ min-height: 32px;
4154
+ }
4155
+
4156
+ ._activity-item_vitro-item_3Tprske._activity-item_vitro-active_2kENgvf {
4157
+ background: #F3F8FF;
4158
+ }
4159
+
4160
+ ._activity-item_vitro-item_3Tprske > .vitro-flex {
4161
+ width: 100%;
4162
+ }
4163
+
4164
+ ._activity-item_vitro-title__QItISm span {
4165
+ color: #222d44;
4166
+ }
4167
+
4168
+ ._activity-item_vitro-due-date_1mBIraY {
4169
+ font-size: 8pt;
4170
+ color: #bdbdbd;
4171
+ float: right;
4172
+ white-space: nowrap;
4173
+ }
4174
+
4175
+ ._activity-item_vitro-content_3Lt7XRy {
4176
+ margin-top: -1px;
4177
+ width: 100%;
4178
+ display: flex;
4179
+ justify-content: space-between;
4180
+ align-items: center;
4181
+ margin-right: 4px;
4182
+ }
4183
+
4184
+ ._activity-item_vitro-content_3Lt7XRy p {
4185
+ -webkit-margin-before: 0px;
4186
+ margin-block-start: 0px;
4187
+ -webkit-margin-after: 0px;
4188
+ margin-block-end: 0px;
4189
+ margin-bottom: 0px;
4190
+ color: #bdbdbd;
4191
+ font-size: 9pt;
4192
+ line-height: 14px;
4193
+ margin-top: 3px;
4194
+ }
4195
+
4196
+ ._activity-item_vitro-content_3Lt7XRy p span {
4197
+ font-size: 9pt !important;
4198
+ }
4199
+
4200
+ ._activity-item_vitro-content_3Lt7XRy .vitro-status-changed {
4201
+ font-style: normal;
4202
+ color: #27AE60;
4203
+ font-size: 9pt;
4204
+ }
4205
+
4206
+ ._activity-item_vitro-message_1ndqhgR {
4207
+ overflow-wrap: anywhere;
4208
+ }
4209
+
4210
+ ._activity-item_vitro-message_1ndqhgR img {
4211
+ max-width: calc(100% - 20px);
4212
+ display: block;
4213
+ margin: 4px 0;
4214
+ }
4215
+
4216
+ ._activity-item_vitro-flex_37IxBWe {
4217
+ display: flex;
4218
+ }
4219
+
4220
+ ._activity-item_vitro-dropdown-button_1J50ja7 {
4221
+ align-self: flex-start;
4222
+ }
4223
+
4224
+ ._activity-item_vitro-avatar_218ZqAk {
4225
+ margin-right: 4px;
4226
+ }
package/dist/index.d.ts CHANGED
@@ -56,6 +56,9 @@ import { Checkbox, CheckboxProps } from './controls/Checkbox/Checkbox';
56
56
  import { IssueTile } from './controls/IssueTile/IssueTile';
57
57
  import { DropdownButton } from './controls/DropdownButton/DropdownButton';
58
58
  import { DropdownItem } from './controls/DropdownButton/DropdownItem';
59
+ import { Activity } from './controls/Activity/Activity';
60
+ import { ActivityItem, ActivityItemProps } from './controls/ActivityItem/ActivityItem';
61
+ import { Icon } from './controls/Icon/Icon';
59
62
  export { Breadcrumbs };
60
63
  export { TopLevelMenu };
61
64
  export { TreeView, TreeViewContext, TREE_VIEW };
@@ -86,3 +89,6 @@ export { UserLookupPicker };
86
89
  export { Checkbox, CheckboxProps };
87
90
  export { IssueTile };
88
91
  export { DropdownButton, DropdownItem };
92
+ export { Activity };
93
+ export { ActivityItem, ActivityItemProps };
94
+ export { Icon };