@vitrosoftware/common-ui-ts 1.1.219 → 1.1.221

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.
@@ -1,6 +1,6 @@
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);
3
+ box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
4
4
  border-radius: 4px;
5
5
  display: flex;
6
6
  flex-wrap: wrap;
@@ -9,6 +9,7 @@
9
9
  }
10
10
 
11
11
  .vitro-position-absolute {
12
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
12
13
  z-index: 1000;
13
14
  position: absolute;
14
15
  right: 0;
@@ -18,6 +18,7 @@
18
18
  width: 100%;
19
19
  left: 0;
20
20
  bottom: 100%;
21
+ z-index: 1;
21
22
  }
22
23
 
23
24
  .vitro-button-group {
@@ -28,6 +29,7 @@
28
29
  min-width: 139px;
29
30
  height: 40px;
30
31
  font-size: 16px;
32
+ line-height: 24px;
31
33
  padding: 4px 16px;
32
34
  }
33
35
 
@@ -88,11 +88,12 @@
88
88
  background-color: #E9ECEF;
89
89
  }
90
90
 
91
+ .vitro-dropdown-button > :global(.vitro-context-button) {
92
+ width: 24px;
93
+ height: 24px;
94
+ }
95
+
91
96
  .vitro-dropdown-button :global(.dropdown-menu) {
92
97
  width: 184px;
93
98
  min-width: 184px;
94
99
  }
95
-
96
- .vitro-dropdown-button :global(.btn) > span {
97
- background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/file/img/file-button-context.svg');
98
- }
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  :global(.vitro-views-dialog .vitro-filter-container + .vitro-label-grey) {
35
- margin-top: 19px;
35
+ margin-top: 4px;
36
36
  }
37
37
 
38
38
  :global(.vitro-views-dialog .vitro-sort-container .vitro-add-field-button),
@@ -159,4 +159,8 @@
159
159
 
160
160
  .vitro-lookup-picker-multi-select :global(.ps__rail-x) {
161
161
  background-color: transparent !important;
162
+ }
163
+
164
+ .vitro-placeholder {
165
+ padding-left: 16px;
162
166
  }
@@ -9,6 +9,7 @@
9
9
  position: relative;
10
10
  justify-content: space-between;
11
11
  cursor: pointer;
12
+ border: 1px solid #F3F8FF;
12
13
  }
13
14
 
14
15
  .vitro-select::after {
@@ -23,6 +24,10 @@
23
24
  background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/select/img/collapse-up.svg');
24
25
  }
25
26
 
27
+ .vitro-select.vitro-active {
28
+ border-color: #3274E0;
29
+ }
30
+
26
31
  .vitro-select.vitro-active::after {
27
32
  transform: rotateX(0);
28
33
  }
@@ -44,7 +49,7 @@
44
49
  position: absolute;
45
50
  top: calc(100% + 4px);
46
51
  left: 0;
47
- z-index: 1;
52
+ z-index: 2;
48
53
  width: 100%;
49
54
  display: none;
50
55
  }
@@ -67,4 +72,23 @@
67
72
 
68
73
  .vitro-select > .vitro-item:hover {
69
74
  background: transparent;
75
+ }
76
+
77
+ .vitro-scrollbar {
78
+ max-height: 267px;
79
+ }
80
+
81
+ .vitro-scrollbar :global(.ps__rail-y),
82
+ .vitro-scrollbar :global(.ps__rail-x) {
83
+ border: none;
84
+ }
85
+
86
+ .vitro-select:global(.vitro-select-sm) {
87
+ height: 32px;
88
+ padding: 4px 12px;
89
+ }
90
+
91
+ .vitro-select:global(.vitro-select-sm)::after {
92
+ width: 20px;
93
+ height: 20px;
70
94
  }
@@ -4,8 +4,8 @@
4
4
  flex-direction: column;
5
5
  }
6
6
 
7
- .vitro-tab :global(.nav) {
8
- align-items: center;
7
+ .vitro-tab > :global(.nav) {
8
+ align-items: flex-end;
9
9
  justify-content: center;
10
10
  flex-wrap: nowrap;
11
11
  }
@@ -40,6 +40,7 @@
40
40
  text-align: center;
41
41
  overflow: hidden;
42
42
  padding-top: 16px;
43
+ min-width: 120px;
43
44
  }
44
45
 
45
46
  .vitro-tab :global(.nav) > div :global(.nav-link) {
@@ -51,8 +52,10 @@
51
52
  font-family: 'InterRegular';
52
53
  color: #4A556C;
53
54
  font-size: 14px;
54
- padding-bottom: 15px;
55
55
  line-height: 150%;
56
+ padding: 0 12px 15px;
57
+ overflow: hidden;
58
+ text-overflow: ellipsis;
56
59
  }
57
60
 
58
61
  .vitro-tab :global(.nav) > div :global(.nav-item) a:hover {
@@ -23,7 +23,6 @@
23
23
  .vitro-body {
24
24
  height: calc(100% - 72px);
25
25
  margin-top: 72px;
26
- display: flex;
27
26
  }
28
27
 
29
28
  .vitro-button-close {
@@ -43,6 +42,7 @@
43
42
  background-color: #212529;
44
43
  margin-left: auto;
45
44
  margin-right: auto;
45
+ height: 100%;
46
46
  }
47
47
 
48
48
  .vitro-player video {
package/dist/index.css CHANGED
@@ -1777,6 +1777,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
1777
1777
  width: 100%;
1778
1778
  left: 0;
1779
1779
  bottom: 100%;
1780
+ z-index: 1;
1780
1781
  }
1781
1782
 
1782
1783
  ._dialog-footer_vitro-button-group_1HXCUOQ {
@@ -1787,6 +1788,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
1787
1788
  min-width: 139px;
1788
1789
  height: 40px;
1789
1790
  font-size: 16px;
1791
+ line-height: 24px;
1790
1792
  padding: 4px 16px;
1791
1793
  }
1792
1794
 
@@ -2518,8 +2520,8 @@ div._component-loader_vitro-component-loader_3J3a2or {
2518
2520
  flex-direction: column;
2519
2521
  }
2520
2522
 
2521
- ._tab-group_vitro-tab_1Qb50HL .nav {
2522
- align-items: center;
2523
+ ._tab-group_vitro-tab_1Qb50HL > .nav {
2524
+ align-items: flex-end;
2523
2525
  justify-content: center;
2524
2526
  flex-wrap: nowrap;
2525
2527
  }
@@ -2554,6 +2556,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
2554
2556
  text-align: center;
2555
2557
  overflow: hidden;
2556
2558
  padding-top: 16px;
2559
+ min-width: 120px;
2557
2560
  }
2558
2561
 
2559
2562
  ._tab-group_vitro-tab_1Qb50HL .nav > div .nav-link {
@@ -2565,8 +2568,10 @@ div._component-loader_vitro-component-loader_3J3a2or {
2565
2568
  font-family: 'InterRegular';
2566
2569
  color: #4A556C;
2567
2570
  font-size: 14px;
2568
- padding-bottom: 15px;
2569
2571
  line-height: 150%;
2572
+ padding: 0 12px 15px;
2573
+ overflow: hidden;
2574
+ text-overflow: ellipsis;
2570
2575
  }
2571
2576
 
2572
2577
  ._tab-group_vitro-tab_1Qb50HL .nav > div .nav-item a:hover {
@@ -4174,6 +4179,10 @@ div._component-loader_vitro-component-loader_3J3a2or {
4174
4179
 
4175
4180
  ._lookup-picker_vitro-lookup-picker-multi-select_3Lkq2tk .ps__rail-x {
4176
4181
  background-color: transparent !important;
4182
+ }
4183
+
4184
+ ._lookup-picker_vitro-placeholder_2Soq8bU {
4185
+ padding-left: 16px;
4177
4186
  }
4178
4187
  ._lookup-picker-html-value_vitro-item-html-value_2QBoTey {
4179
4188
  height: -moz-fit-content;
@@ -5110,7 +5119,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
5110
5119
  }
5111
5120
 
5112
5121
  .vitro-views-dialog .vitro-filter-container + .vitro-label-grey {
5113
- margin-top: 19px;
5122
+ margin-top: 4px;
5114
5123
  }
5115
5124
 
5116
5125
  .vitro-views-dialog .vitro-sort-container .vitro-add-field-button,
@@ -6589,7 +6598,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
6589
6598
 
6590
6599
  ._alert_vitro-alert_3sPAkJb {
6591
6600
  border: 0;
6592
- box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
6601
+ box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 6px 0px rgba(0, 0, 0, 0.10);
6593
6602
  border-radius: 4px;
6594
6603
  display: flex;
6595
6604
  flex-wrap: wrap;
@@ -6598,6 +6607,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
6598
6607
  }
6599
6608
 
6600
6609
  ._alert_vitro-position-absolute_2A33Lq4 {
6610
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
6601
6611
  z-index: 1000;
6602
6612
  position: absolute;
6603
6613
  right: 0;
@@ -6950,14 +6960,15 @@ div._component-loader_vitro-component-loader_3J3a2or {
6950
6960
  background-color: #E9ECEF;
6951
6961
  }
6952
6962
 
6963
+ ._file_vitro-dropdown-button_3MgI2n9 > .vitro-context-button {
6964
+ width: 24px;
6965
+ height: 24px;
6966
+ }
6967
+
6953
6968
  ._file_vitro-dropdown-button_3MgI2n9 .dropdown-menu {
6954
6969
  width: 184px;
6955
6970
  min-width: 184px;
6956
6971
  }
6957
-
6958
- ._file_vitro-dropdown-button_3MgI2n9 .btn > span {
6959
- background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/file/img/file-button-context.svg');
6960
- }
6961
6972
 
6962
6973
  ._attached-file-list_vitro-file-list-container_5PIFyI7 {
6963
6974
  display: flex;
@@ -8350,6 +8361,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
8350
8361
  position: relative;
8351
8362
  justify-content: space-between;
8352
8363
  cursor: pointer;
8364
+ border: 1px solid #F3F8FF;
8353
8365
  }
8354
8366
 
8355
8367
  ._select_vitro-select_EObExkL::after {
@@ -8364,6 +8376,10 @@ div._component-loader_vitro-component-loader_3J3a2or {
8364
8376
  background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/select/img/collapse-up.svg');
8365
8377
  }
8366
8378
 
8379
+ ._select_vitro-select_EObExkL._select_vitro-active_3I2oZ9Y {
8380
+ border-color: #3274E0;
8381
+ }
8382
+
8367
8383
  ._select_vitro-select_EObExkL._select_vitro-active_3I2oZ9Y::after {
8368
8384
  transform: rotateX(0);
8369
8385
  }
@@ -8385,7 +8401,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
8385
8401
  position: absolute;
8386
8402
  top: calc(100% + 4px);
8387
8403
  left: 0;
8388
- z-index: 1;
8404
+ z-index: 2;
8389
8405
  width: 100%;
8390
8406
  display: none;
8391
8407
  }
@@ -8408,6 +8424,25 @@ div._component-loader_vitro-component-loader_3J3a2or {
8408
8424
 
8409
8425
  ._select_vitro-select_EObExkL > ._select_vitro-item_3Q88bWt:hover {
8410
8426
  background: transparent;
8427
+ }
8428
+
8429
+ ._select_vitro-scrollbar_1T9-kjS {
8430
+ max-height: 267px;
8431
+ }
8432
+
8433
+ ._select_vitro-scrollbar_1T9-kjS .ps__rail-y,
8434
+ ._select_vitro-scrollbar_1T9-kjS .ps__rail-x {
8435
+ border: none;
8436
+ }
8437
+
8438
+ ._select_vitro-select_EObExkL.vitro-select-sm {
8439
+ height: 32px;
8440
+ padding: 4px 12px;
8441
+ }
8442
+
8443
+ ._select_vitro-select_EObExkL.vitro-select-sm::after {
8444
+ width: 20px;
8445
+ height: 20px;
8411
8446
  }
8412
8447
  ._switch_vitro-switch_1noCcra {
8413
8448
  position: relative;
@@ -8959,7 +8994,6 @@ div._component-loader_vitro-component-loader_3J3a2or {
8959
8994
  ._video-viewer_vitro-body_124aVK2 {
8960
8995
  height: calc(100% - 72px);
8961
8996
  margin-top: 72px;
8962
- display: flex;
8963
8997
  }
8964
8998
 
8965
8999
  ._video-viewer_vitro-button-close_TB-QCiO {
@@ -8979,6 +9013,7 @@ div._component-loader_vitro-component-loader_3J3a2or {
8979
9013
  background-color: #212529;
8980
9014
  margin-left: auto;
8981
9015
  margin-right: auto;
9016
+ height: 100%;
8982
9017
  }
8983
9018
 
8984
9019
  ._video-viewer_vitro-player_2JJVj_u video {