raise-common-lib 0.0.40 → 0.0.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raise-common-lib",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^8.2.3 || ^9.0.0",
6
6
  "@angular/core": "^8.2.3 || ^9.0.0"
@@ -1,4 +1,4 @@
1
- .e-btn {
1
+ .e-btn:not(.e-lib) {
2
2
  font-family: var(--rs-font-family);
3
3
  display: flex;
4
4
  justify-content: center;
@@ -73,7 +73,23 @@
73
73
  }
74
74
  }
75
75
 
76
- .e-dropdown-btn {
76
+ .e-dropdown-btn:not(.e-icon-btn) {
77
+ font-family: var(--rs-font-family);
78
+ display: flex;
79
+ justify-content: center;
80
+ align-items: center;
81
+ gap: 6px;
82
+ font-style: normal;
83
+ background: transparent !important;
84
+ color: var(--rs-cancel-btn-color) !important;
85
+ border-color: transparent !important;
86
+ height: 32px;
87
+ min-width: 80px;
88
+ padding: 0 10px;
89
+ font-size: 12px;
90
+ border-radius: 4px;
91
+ box-shadow: none !important;
92
+ line-height: normal;
77
93
  &.e-active {
78
94
  border-color: rgba(31, 123, 255, 0.2) !important;
79
95
  background: rgba(31, 123, 255, 0.04) !important;
@@ -202,7 +202,7 @@
202
202
  line-height: 14px; /* 127.273% */
203
203
  }
204
204
 
205
- .e-list-item {
205
+ .e-list-group-item,.e-list-item {
206
206
  font-family: Arial;
207
207
  font-size: var(--rs-input-font-size);
208
208
  min-height: var(--rs-input-line-height);
@@ -229,7 +229,7 @@
229
229
  &:hover {
230
230
  background-color: transparent !important;
231
231
  }
232
- .e-check {
232
+ .e-check,.e-stop {
233
233
  background-color: #007bff !important;
234
234
  border-color: #007bff !important;
235
235
  color: #fff !important;
@@ -31,18 +31,25 @@
31
31
  .e-checkbox-wrapper {
32
32
  .e-icons {
33
33
  margin: 0;
34
+ display: none;
34
35
  &.e-check,
35
36
  &.e-stop {
37
+ display: inline-block;
36
38
  color: #fff !important;
37
39
  background-color: var(--rs-active-color);
38
40
  border-color: var(--rs-active-color);
39
41
  }
40
42
  }
41
43
  }
44
+ &:hover {
45
+ .e-checkbox-wrapper .e-icons {
46
+ display: inline-block;
47
+ }
48
+ }
42
49
  }
43
50
  .e-gridheader {
44
51
  border-bottom-color: transparent;
45
- padding-right: 5px
52
+ padding-right: 5px;
46
53
  }
47
54
  .e-gridheader .e-fltr-icon .e-sortfilterdiv {
48
55
  color: #929dab !important;
@@ -67,8 +74,18 @@
67
74
  }
68
75
  &.e-active {
69
76
  background: rgba(31, 123, 255, 0.08); // selected bg
77
+ .e-checkbox-wrapper {
78
+ display: block;
79
+ }
80
+ .rowcell-menu {
81
+ display: block;
82
+ }
83
+ }
84
+ .rowcell-menu {
85
+ display: none;
70
86
  }
71
87
  .e-checkbox-wrapper {
88
+ display: none;
72
89
  .e-icons.e-check {
73
90
  color: #fff !important;
74
91
  background-color: var(--rs-active-color);
@@ -81,6 +98,12 @@
81
98
  .e-updatedtd
82
99
  ):not(.e-indentcell) {
83
100
  background-color: var(--rs-grid-row-hover-bg) !important; // hover bg
101
+ .e-checkbox-wrapper {
102
+ display: block;
103
+ }
104
+ .rowcell-menu {
105
+ display: block;
106
+ }
84
107
  }
85
108
 
86
109
  .e-row:not(.e-disable-gridhover):not(.e-editedrow):not(.e-detailrow):hover
@@ -248,3 +271,56 @@
248
271
  }
249
272
  }
250
273
  }
274
+ .grid-loading {
275
+ .e-gridcontent {
276
+ .e-rowcell {
277
+ border-bottom: 0;
278
+ position: relative;
279
+ color: transparent !important;
280
+
281
+ .text-ellipsis,
282
+ .e-checkbox-wrapper,
283
+ img,
284
+ div,
285
+ span,
286
+ .mat-chip-list-wrapper {
287
+ visibility: hidden !important;
288
+ }
289
+
290
+ &::after {
291
+ content: "";
292
+ position: absolute;
293
+ top: 0;
294
+ bottom: 0;
295
+ right: 0;
296
+ width: calc(200% + 200px);
297
+ animation: e-shimmer-wave 1s infinite;
298
+ animation-timing-function: ease-in-out;
299
+ background-image: linear-gradient(
300
+ 90deg,
301
+ transparent calc(50% - 100px),
302
+ rgb(255, 255, 255) 50%,
303
+ transparent calc(50% + 100px)
304
+ );
305
+ transition: 0.5s;
306
+ }
307
+
308
+ &::before {
309
+ content: "";
310
+ position: absolute;
311
+ left: 0px;
312
+ right: 8px;
313
+ top: 50%;
314
+ transform: translateY(-50%);
315
+ height: 15px;
316
+ border-radius: 4px;
317
+ background: linear-gradient(
318
+ 0deg,
319
+ rgba(103, 80, 164, 0.08),
320
+ rgba(103, 80, 164, 0.08)
321
+ ),
322
+ white;
323
+ }
324
+ }
325
+ }
326
+ }
@@ -77,3 +77,9 @@ ejs-numerictextbox.e-lib.error {
77
77
  }
78
78
  }
79
79
  }
80
+ input::-webkit-input-placeholder {
81
+ color: var(--rs-input-disabled-color) !important;
82
+ }
83
+ textarea::-webkit-input-placeholder {
84
+ color: var(--rs-input-disabled-color) !important;
85
+ }
@@ -40,7 +40,7 @@
40
40
  --rs-input-line-height: 28px;
41
41
  --rs-input-font-size: 12px;
42
42
  --rs-input-color: var(--rs-primary-color);
43
- --rs-input-disabled-color: #44566c;
43
+ --rs-input-disabled-color: #adb5bd;
44
44
  --rs-input-border-color: var(--rs-border-color);
45
45
  --rs-input-border-radius: 4px;
46
46
  --rs-input-disabled-bg: #f7f8fa;