ngx-vector-components 0.0.13 → 2.0.0

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 (34) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/README.md +35 -35
  3. package/assets/styles/_primeng-custom-theme.scss +143 -78
  4. package/assets/styles/_spinner.scss +4 -4
  5. package/assets/styles/_styles.scss +6 -6
  6. package/assets/styles/_variables.scss +23 -20
  7. package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +2 -2
  8. package/esm2020/lib/components/fields/button/button.component.mjs +2 -2
  9. package/esm2020/lib/components/fields/calendar-field/calendar-field.component.mjs +6 -3
  10. package/esm2020/lib/components/fields/currency-field/currency-field.component.mjs +2 -2
  11. package/esm2020/lib/components/fields/data-table/data-table.component.mjs +2 -2
  12. package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +2 -2
  13. package/esm2020/lib/components/fields/filters/filters.component.mjs +1 -1
  14. package/esm2020/lib/components/fields/multiselect-field/multiselect-field.component.mjs +2 -2
  15. package/esm2020/lib/components/fields/percentage-field/percentage-field.component.mjs +2 -2
  16. package/esm2020/lib/components/fields/radio-button-field/radio-button-field.component.mjs +2 -2
  17. package/esm2020/lib/components/fields/range-value/range-value.component.mjs +2 -2
  18. package/esm2020/lib/components/fields/text-field/text-field.component.mjs +16 -8
  19. package/esm2020/lib/components/generic-error-modal/generic-error-modal.component.mjs +2 -2
  20. package/esm2020/lib/components/generic-modal/generic-modal.component.mjs +2 -2
  21. package/esm2020/lib/components/menu/menu.component.mjs +3 -3
  22. package/esm2020/lib/components/menu/sub-menus-list/sub-menus-list.component.mjs +3 -3
  23. package/esm2020/lib/components/top-bar/top-bar.component.mjs +2 -2
  24. package/esm2020/lib/services/auth.service.mjs +3 -3
  25. package/esm2020/lib/utils/validation.util.mjs +10 -1
  26. package/esm2020/public-api.mjs +1 -1
  27. package/fesm2015/ngx-vector-components.mjs +60 -40
  28. package/fesm2015/ngx-vector-components.mjs.map +1 -1
  29. package/fesm2020/ngx-vector-components.mjs +60 -40
  30. package/fesm2020/ngx-vector-components.mjs.map +1 -1
  31. package/lib/components/fields/calendar-field/calendar-field.component.d.ts +2 -1
  32. package/lib/components/fields/text-field/text-field.component.d.ts +1 -0
  33. package/lib/utils/validation.util.d.ts +1 -0
  34. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,22 @@
1
1
  # Changelog
2
2
 
3
- ## [0.0.2] (21/02/2022)
3
+ ## [2.0.0] (01/03/2022)
4
+
5
+ ### Bug Fixes
6
+
7
+ ### Features
8
+
9
+ ### Breaking Changes
10
+
11
+ - CSS variables changed declaration form.
12
+
13
+ ## [1.0.2] (01/03/2022)
14
+
15
+ ### Bug Fixes
16
+
17
+ - Changed text field filter to validate only when on "only text" mode.
18
+
19
+ ## [1.0.1] (27/02/2022)
4
20
 
5
21
  ### Bug Fixes
6
22
 
package/README.md CHANGED
@@ -1,35 +1,35 @@
1
- # NgxVectorComponents
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.0.
4
-
5
- ## Summary
6
-
7
- Library generated in order to share code between projects in the Vector ecosystem. Any component, styling, injectable, useful class or other types of code that would need to be copied between projects should be added here to be shared, avoiding duplication and improving their maintainability.
8
-
9
- # IMPORTANT
10
-
11
- Any changes made to the library must be properly documented in the `CHANGELOG.md` file, using the proper semantic versioning as explained below:
12
-
13
- Versions must be defined following the semantic versioning pattern, where the version number is divided into 3 segments, `major`, `minor` and `patch` versions, as in the example:
14
-
15
- - `2.5.3`, where:
16
- - `3` = Patch (incremented when the new version is generated with FIXES only);
17
- - `5` = Minor (incremented when the new version receives NEW FEATURES);
18
- - `2` = Major (incremented when new version gets ANY BREAKING CHANGE).
19
-
20
- Example of a breaking change: an `input` of some component has changed its typing or a change in behavior where it is necessary to make changes to the client code to continue working as expected).
21
-
22
- - Always keep the `inputs`, `outputs` and `parameters` of exported components/methods with proper TYPE.
23
- - 3 providers must be defined on the root level of the project: `environment`, `appName`, `menuOptions`. As shown below:
24
-
25
- ## Generating version
26
-
27
- After documenting the changes made, use the semantic versioning criteria to define the new version number and add this number to the library's `CHANGELOG.md` and `package.json` in the `version` field.
28
-
29
- ## Build
30
-
31
- After setting the version number in both files mentioned above: run `npm run build` in the root folder of the project, the command will generate the build of the library and place it in the `dist` folder of the root of the project.
32
-
33
- ## Publishing
34
-
35
- After successfully building the library, enter the `dist` folder and run `npm publish`.
1
+ # NgxVectorComponents
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.0.
4
+
5
+ ## Summary
6
+
7
+ Library generated in order to share code between projects in the Vector ecosystem. Any component, styling, injectable, useful class or other types of code that would need to be copied between projects should be added here to be shared, avoiding duplication and improving their maintainability.
8
+
9
+ # IMPORTANT
10
+
11
+ Any changes made to the library must be properly documented in the `CHANGELOG.md` file, using the proper semantic versioning as explained below:
12
+
13
+ Versions must be defined following the semantic versioning pattern, where the version number is divided into 3 segments, `major`, `minor` and `patch` versions, as in the example:
14
+
15
+ - `2.5.3`, where:
16
+ - `3` = Patch (incremented when the new version is generated with FIXES only);
17
+ - `5` = Minor (incremented when the new version receives NEW FEATURES);
18
+ - `2` = Major (incremented when new version gets ANY BREAKING CHANGE).
19
+
20
+ Example of a breaking change: an `input` of some component has changed its typing or a change in behavior where it is necessary to make changes to the client code to continue working as expected).
21
+
22
+ - Always keep the `inputs`, `outputs` and `parameters` of exported components/methods with proper TYPE.
23
+ - 3 providers must be defined on the root level of the project: `environment`, `appName`, `menuOptions`. As shown below:
24
+
25
+ ## Generating version
26
+
27
+ After documenting the changes made, use the semantic versioning criteria to define the new version number and add this number to the library's `CHANGELOG.md` and `package.json` in the `version` field.
28
+
29
+ ## Build
30
+
31
+ After setting the version number in both files mentioned above: run `npm run build` in the root folder of the project, the command will generate the build of the library and place it in the `dist` folder of the root of the project.
32
+
33
+ ## Publishing
34
+
35
+ After successfully building the library, enter the `dist` folder and run `npm publish`.
@@ -13,8 +13,22 @@
13
13
  width: 100% !important;
14
14
  }
15
15
 
16
+ p-calendar.ng-touched.ng-invalid input {
17
+ border-color: var(--error-color) !important;
18
+ background-color: var(--error-color-transparent) !important;
19
+
20
+ &:focus {
21
+ border-color: var(--theme-dark) !important;
22
+ background-color: #fff !important;
23
+ }
24
+ }
25
+ p-calendar.ng-touched.ng-invalid .p-datepicker-trigger {
26
+ border-color: var(--error-color) !important;
27
+ background-color: var(--error-color-transparent) !important;
28
+ }
29
+
16
30
  .p-calendar .p-inputtext {
17
- color: $theme-dark !important;
31
+ color: var(--theme-dark) !important;
18
32
  font-weight: 600 !important;
19
33
  margin-left: -1px !important;
20
34
  border-top-right-radius: 0px !important;
@@ -24,22 +38,22 @@
24
38
  border-right: none !important;
25
39
 
26
40
  + .p-datepicker-trigger {
27
- border-right: 2px solid $theme-dark !important;
28
- border-top: 2px solid $theme-dark !important;
29
- border-bottom: 2px solid $theme-dark !important;
41
+ border-right: 2px solid var(--theme-dark) !important;
42
+ border-top: 2px solid var(--theme-dark) !important;
43
+ border-bottom: 2px solid var(--theme-dark) !important;
30
44
  background-color: #ffffff !important;
31
45
  }
32
46
  }
33
47
  }
34
48
 
35
49
  .p-datepicker-trigger {
36
- background-color: $grey-light !important;
50
+ background-color: var(--grey-light) !important;
37
51
  border: none !important;
38
- border-top-right-radius: $border-radius !important;
39
- border-bottom-right-radius: $border-radius !important;
52
+ border-top-right-radius: var(--border-radius) !important;
53
+ border-bottom-right-radius: var(--border-radius) !important;
40
54
 
41
55
  .p-button-icon {
42
- color: $theme-dark !important;
56
+ color: var(--theme-dark) !important;
43
57
  }
44
58
  }
45
59
 
@@ -53,13 +67,13 @@
53
67
  }
54
68
 
55
69
  .p-button.p-button-link {
56
- color: $theme-dark;
70
+ color: var(--theme-dark);
57
71
  background: transparent;
58
72
  border: transparent;
59
73
  }
60
74
  .p-button.p-button-link:enabled:hover {
61
75
  background: transparent;
62
- color: $theme-dark;
76
+ color: var(--theme-dark);
63
77
  border-color: transparent;
64
78
  }
65
79
  .p-button.p-button-link:enabled:hover .p-button-label {
@@ -72,7 +86,7 @@
72
86
  }
73
87
  .p-button.p-button-link:enabled:active {
74
88
  background: transparent;
75
- color: $theme-dark;
89
+ color: var(--theme-dark);
76
90
  border-color: transparent;
77
91
  }
78
92
 
@@ -84,41 +98,41 @@
84
98
 
85
99
  &:focus + .p-autocomplete-dropdown {
86
100
  background-color: #ffffff !important;
87
- border-right: 2px solid $theme-dark !important;
88
- border-top: 2px solid $theme-dark !important;
89
- border-bottom: 2px solid $theme-dark !important;
101
+ border-right: 2px solid var(--theme-dark) !important;
102
+ border-top: 2px solid var(--theme-dark) !important;
103
+ border-bottom: 2px solid var(--theme-dark) !important;
90
104
  }
91
105
  }
92
106
 
93
107
  .p-inputwrapper-focus .p-autocomplete-dropdown {
94
108
  background-color: #ffffff !important;
95
- border-right: 2px solid $theme-dark !important;
96
- border-top: 2px solid $theme-dark !important;
97
- border-bottom: 2px solid $theme-dark !important;
109
+ border-right: 2px solid var(--theme-dark) !important;
110
+ border-top: 2px solid var(--theme-dark) !important;
111
+ border-bottom: 2px solid var(--theme-dark) !important;
98
112
  }
99
113
 
100
114
  .p-autocomplete-dropdown {
101
- background-color: $grey-light !important;
115
+ background-color: var(--grey-light) !important;
102
116
  border: none !important;
103
117
  margin-left: -1px !important;
104
- border-top-right-radius: $border-radius !important;
105
- border-bottom-right-radius: $border-radius !important;
106
- color: $grey-dark !important;
118
+ border-top-right-radius: var(--border-radius) !important;
119
+ border-bottom-right-radius: var(--border-radius) !important;
120
+ color: var(--grey-dark) !important;
107
121
  padding-bottom: 5px !important;
108
122
  }
109
123
 
110
124
  input.p-inputtext:not(.currency-input) {
111
125
  border: none;
112
- background-color: $grey-light;
126
+ background-color: var(--grey-light);
113
127
  width: 100%;
114
128
  padding: 6px 12px 6px 12px;
115
- border-top-right-radius: $border-radius;
116
- border-bottom-right-radius: $border-radius;
117
- border-top-left-radius: $border-radius;
118
- border-bottom-left-radius: $border-radius;
129
+ border-top-right-radius: var(--border-radius);
130
+ border-bottom-right-radius: var(--border-radius);
131
+ border-top-left-radius: var(--border-radius);
132
+ border-bottom-left-radius: var(--border-radius);
119
133
  height: 40px;
120
134
  font-size: 0.9em !important;
121
- color: $theme-dark !important;
135
+ color: var(--theme-dark) !important;
122
136
  font-weight: 500;
123
137
 
124
138
  &:disabled {
@@ -129,35 +143,35 @@ input.p-inputtext:not(.currency-input) {
129
143
  &:focus {
130
144
  outline: 0 !important;
131
145
  box-shadow: none !important;
132
- border: 2px solid $theme-dark;
146
+ border: 2px solid var(--theme-dark);
133
147
  background-color: #ffffff;
134
148
  }
135
149
 
136
150
  &:hover,
137
151
  &:focus:not(.ng-invalid):not(.p-inputmask) {
138
- border-color: $theme-dark !important;
152
+ border-color: var(--theme-dark) !important;
139
153
  }
140
154
 
141
155
  &::placeholder {
142
- color: $theme-dark;
156
+ color: var(--theme-dark);
143
157
  opacity: 0.8;
144
158
  }
145
159
 
146
160
  &.ng-touched.ng-invalid {
147
- border-color: $error-color !important;
148
- background-color: $error-color-transparent !important;
161
+ border-color: var(--error-color) !important;
162
+ background-color: var(--error-color-transparent) !important;
149
163
  }
150
164
 
151
165
  &:not(.ng-invalid) {
152
- border-color: $theme-dark !important;
166
+ border-color: var(--theme-dark) !important;
153
167
  }
154
168
  }
155
169
  p-inputmask {
156
170
  flex: 1;
157
171
  }
158
172
  p-inputmask.ng-touched.ng-invalid input {
159
- border-color: $error-color !important;
160
- background-color: $error-color-transparent !important;
173
+ border-color: var(--error-color) !important;
174
+ background-color: var(--error-color-transparent) !important;
161
175
  }
162
176
 
163
177
  p-inputnumber:not(.currency-input),
@@ -171,7 +185,7 @@ p-inputnumber.outlined {
171
185
 
172
186
  p-inputnumber.currency-input:not(.outlined) {
173
187
  &.ng-touched.ng-invalid input.p-inputnumber-input {
174
- color: $error-color !important;
188
+ color: var(--error-color) !important;
175
189
  }
176
190
 
177
191
  input.p-inputnumber-input {
@@ -179,7 +193,7 @@ p-inputnumber.currency-input:not(.outlined) {
179
193
  font-size: 2em !important;
180
194
  font-weight: 600 !important;
181
195
  background-color: #ffffff !important;
182
- color: $theme-dark !important;
196
+ color: var(--theme-dark) !important;
183
197
  width: 100% !important;
184
198
 
185
199
  &:focus {
@@ -189,8 +203,8 @@ p-inputnumber.currency-input:not(.outlined) {
189
203
  }
190
204
  }
191
205
  .p-radiobutton-box.p-highlight {
192
- background-color: $success-color !important;
193
- border-color: $success-color !important;
206
+ background-color: var(--success-color) !important;
207
+ border-color: var(--success-color) !important;
194
208
 
195
209
  // &::before {
196
210
  // content: '\f00c';
@@ -200,17 +214,17 @@ p-inputnumber.currency-input:not(.outlined) {
200
214
  // height: 10px;
201
215
  // }
202
216
  // .p-radiobutton-icon {
203
- // background-color: $success-color !important;
217
+ // background-color: var(--success-color) !important;
204
218
  // }
205
219
  }
206
220
 
207
221
  .p-radiobutton .p-radiobutton-box:not(.p-disabled):not(.p-highlight):hover {
208
- border-color: $success-color !important;
222
+ border-color: var(--success-color) !important;
209
223
  }
210
224
 
211
225
  .p-highlight {
212
- background-color: $theme-primary !important;
213
- border-color: $theme-primary !important;
226
+ background-color: var(--theme-primary) !important;
227
+ border-color: var(--theme-primary) !important;
214
228
  }
215
229
 
216
230
  .p-button:focus {
@@ -236,16 +250,16 @@ p-inputnumber.currency-input:not(.outlined) {
236
250
  }
237
251
 
238
252
  .p-datepicker table td > span {
239
- color: $font-color !important;
253
+ color: var(--font-color) !important;
240
254
  }
241
255
 
242
256
  .p-datepicker {
243
- border: 2px solid $theme-dark !important;
244
- border-radius: $border-radius !important;
257
+ border: 2px solid var(--theme-dark) !important;
258
+ border-radius: var(--border-radius) !important;
245
259
  z-index: 15000 !important;
246
260
 
247
261
  .p-datepicker-calendar thead tr th span {
248
- color: $theme-dark !important;
262
+ color: var(--theme-dark) !important;
249
263
  }
250
264
  }
251
265
 
@@ -301,7 +315,7 @@ p-inputnumber.currency-input:not(.outlined) {
301
315
  }
302
316
 
303
317
  .p-selectbutton {
304
- background-color: $grey-light !important;
318
+ background-color: var(--grey-light) !important;
305
319
  border-radius: 10px !important;
306
320
  width: fit-content !important;
307
321
 
@@ -311,7 +325,7 @@ p-inputnumber.currency-input:not(.outlined) {
311
325
  border-radius: 8px !important;
312
326
 
313
327
  .p-button-label {
314
- color: $theme-dark !important;
328
+ color: var(--theme-dark) !important;
315
329
  font-weight: 500 !important;
316
330
  }
317
331
 
@@ -320,7 +334,7 @@ p-inputnumber.currency-input:not(.outlined) {
320
334
  }
321
335
 
322
336
  &.p-highlight {
323
- background-color: $theme-dark !important;
337
+ background-color: var(--theme-dark) !important;
324
338
 
325
339
  .p-button-label {
326
340
  color: #ffffff !important;
@@ -330,7 +344,7 @@ p-inputnumber.currency-input:not(.outlined) {
330
344
  }
331
345
 
332
346
  .p-multiselect {
333
- border: 2px solid $theme-dark !important;
347
+ border: 2px solid var(--theme-dark) !important;
334
348
  }
335
349
 
336
350
  .p-multiselect-header {
@@ -344,7 +358,7 @@ p-inputnumber.currency-input:not(.outlined) {
344
358
  }
345
359
 
346
360
  .p-multiselect-label {
347
- color: $theme-dark !important;
361
+ color: var(--theme-dark) !important;
348
362
  font-weight: 600 !important;
349
363
  }
350
364
 
@@ -355,7 +369,7 @@ p-inputnumber.currency-input:not(.outlined) {
355
369
 
356
370
  .p-multiselect-item {
357
371
  box-shadow: unset !important;
358
- color: $theme-dark !important;
372
+ color: var(--theme-dark) !important;
359
373
  }
360
374
 
361
375
  .p-multiselect-trigger-icon {
@@ -365,7 +379,7 @@ p-inputnumber.currency-input:not(.outlined) {
365
379
  .rounded-checkbox .p-checkbox-box {
366
380
  border-radius: 20px !important;
367
381
  border: none !important;
368
- background-color: $grey-light !important;
382
+ background-color: var(--grey-light) !important;
369
383
 
370
384
  .p-checkbox-icon {
371
385
  font-size: 0.8em !important;
@@ -373,16 +387,16 @@ p-inputnumber.currency-input:not(.outlined) {
373
387
  }
374
388
 
375
389
  .p-checkbox-box.p-highlight {
376
- background: $success-color !important;
377
- border-color: $success-color !important;
390
+ background: var(--success-color) !important;
391
+ border-color: var(--success-color) !important;
378
392
  }
379
393
 
380
394
  .p-checkbox-box {
381
395
  border-width: 2px !important;
382
- border-color: $grey-dark !important;
396
+ border-color: var(--grey-dark) !important;
383
397
 
384
398
  &:hover:not(.p-highlight) {
385
- border-color: $grey-dark !important;
399
+ border-color: var(--grey-dark) !important;
386
400
  }
387
401
  }
388
402
 
@@ -391,12 +405,21 @@ p-inputnumber.currency-input:not(.outlined) {
391
405
  width: 100%;
392
406
  }
393
407
 
408
+ p-autocomplete.ng-touched.ng-invalid input {
409
+ border-color: var(--error-color) !important;
410
+ background-color: var(--error-color-transparent) !important;
411
+ }
412
+ p-autocomplete.ng-touched.ng-invalid .p-autocomplete-dropdown {
413
+ border-color: var(--error-color) !important;
414
+ background-color: var(--error-color-transparent) !important;
415
+ }
416
+
394
417
  .p-dropdown-panel,
395
418
  .p-autocomplete-panel {
396
419
  max-width: 250px !important;
397
- border: 2px solid $theme-dark !important;
420
+ border: 2px solid var(--theme-dark) !important;
398
421
  margin-top: -2px !important;
399
- border-radius: $border-radius !important;
422
+ border-radius: var(--border-radius) !important;
400
423
 
401
424
  & .p-autocomplete-items {
402
425
  padding-top: 0px !important;
@@ -409,54 +432,54 @@ p-inputnumber.currency-input:not(.outlined) {
409
432
  }
410
433
 
411
434
  &::-webkit-scrollbar-track {
412
- background: $grey-light;
435
+ background: var(--grey-light);
413
436
  }
414
437
 
415
438
  &::-webkit-scrollbar-thumb {
416
- background: $theme-dark;
439
+ background: var(--theme-dark);
417
440
  border-radius: 8px;
418
441
  }
419
442
 
420
443
  &::-webkit-scrollbar-thumb:hover {
421
- background: $theme-dark;
444
+ background: var(--theme-dark);
422
445
  }
423
446
  }
424
447
 
425
448
  .p-dropdown-item,
426
449
  .p-autocomplete-item {
427
450
  text-overflow: ellipsis;
428
- color: $theme-dark !important;
451
+ color: var(--theme-dark) !important;
429
452
 
430
453
  &:hover {
431
- background-color: $theme-dark !important;
454
+ background-color: var(--theme-dark) !important;
432
455
  color: #ffffff !important;
433
456
  }
434
457
  }
435
458
 
436
459
  .p-dropdown {
437
460
  // background-color: #ffffff;
438
- background-color: $grey-light !important;
461
+ background-color: var(--grey-light) !important;
439
462
  border: none !important;
440
463
  .p-highlight {
441
464
  background-color: #ffffff !important;
442
465
  }
443
466
  }
444
467
  .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight {
445
- background-color: $theme-dark !important;
468
+ background-color: var(--theme-dark) !important;
446
469
  color: #ffffff !important;
447
470
  }
448
471
 
449
472
  .p-slider {
450
473
  background-color: #01529b;
451
474
  .p-slider-range {
452
- background-color: $success-color !important;
475
+ background-color: var(--success-color) !important;
453
476
  border-radius: inherit !important;
454
477
  }
455
478
  .p-slider-handle {
456
- border-color: $success-color !important;
479
+ border-color: var(--success-color) !important;
457
480
 
458
481
  &:hover {
459
- background-color: $success-color !important;
482
+ background-color: var(--success-color) !important;
460
483
  }
461
484
  &:focus {
462
485
  box-shadow: unset !important;
@@ -470,11 +493,11 @@ p-inputnumber.currency-input:not(.outlined) {
470
493
  }
471
494
  .p-fileupload-choose {
472
495
  background: transparent !important;
473
- border: 2px solid $theme-dark !important;
474
- border-radius: $border-radius !important;
496
+ border: 2px solid var(--theme-dark) !important;
497
+ border-radius: var(--border-radius) !important;
475
498
 
476
499
  .p-button-label {
477
- color: $theme-dark !important;
500
+ color: var(--theme-dark) !important;
478
501
  max-width: 200px !important;
479
502
  text-overflow: ellipsis !important;
480
503
  white-space: nowrap !important;
@@ -507,11 +530,11 @@ vector-data-table {
507
530
  white-space: normal !important;
508
531
 
509
532
  .boolean-value-positive {
510
- color: $success-color;
533
+ color: var(--success-color);
511
534
  }
512
535
 
513
536
  .boolean-value-negative {
514
- color: $error-color;
537
+ color: var(--error-color);
515
538
  }
516
539
 
517
540
  .status-table-field {
@@ -519,13 +542,13 @@ vector-data-table {
519
542
  }
520
543
 
521
544
  .success {
522
- color: $success-color;
545
+ color: var(--success-color);
523
546
  }
524
547
  .error {
525
- color: $error-color;
548
+ color: var(--error-color);
526
549
  }
527
550
  .warning {
528
- color: $warning-color;
551
+ color: var(--warning-color);
529
552
  }
530
553
  }
531
554
  }
@@ -580,3 +603,45 @@ p-tabview {
580
603
  border: none !important;
581
604
  background: transparent !important;
582
605
  }
606
+
607
+ .p-chip {
608
+ display: inline-block;
609
+ padding: 0 16px !important;
610
+ height: 40px;
611
+ font-weight: 500;
612
+ font-size: 13px;
613
+ line-height: 40px;
614
+ border-radius: 25px !important;
615
+ background-color: #e5e5ea !important;
616
+ color: #002463 !important;
617
+ opacity: 0.5;
618
+
619
+ span {
620
+ border: 2px solid;
621
+ border-radius: 50%;
622
+ width: 25px;
623
+ height: 25px;
624
+ margin-left: 5px;
625
+ margin-top: 7px;
626
+ color: #abaab5;
627
+
628
+ i {
629
+ position: relative;
630
+ top: -11px;
631
+ left: -6px;
632
+ font-size: 12px;
633
+ }
634
+ }
635
+
636
+ .closebtn {
637
+ padding-left: 10px;
638
+ font-weight: bold;
639
+ float: right;
640
+ font-size: 20px;
641
+ cursor: pointer;
642
+ }
643
+
644
+ .closebtn:hover {
645
+ color: #000;
646
+ }
647
+ }
@@ -7,17 +7,17 @@ p-progressSpinner .p-progress-spinner-circle {
7
7
  @keyframes custom-progress-spinner-color {
8
8
  100%,
9
9
  0% {
10
- stroke: $theme-primary;
10
+ stroke: var(--theme-primary);
11
11
  }
12
12
  40% {
13
- stroke: $theme-primary;
13
+ stroke: var(--theme-primary);
14
14
  }
15
15
  66% {
16
- stroke: $theme-primary;
16
+ stroke: var(--theme-primary);
17
17
  }
18
18
  80%,
19
19
  90% {
20
- stroke: $theme-primary;
20
+ stroke: var(--theme-primary);
21
21
  }
22
22
  }
23
23
 
@@ -10,14 +10,14 @@ body {
10
10
 
11
11
  body,
12
12
  body .p-component {
13
- color: $font-color;
13
+ color: var(--font-color);
14
14
  font-size: 13px;
15
15
  font-family: Poppins;
16
16
  }
17
17
 
18
18
  i {
19
19
  font-size: 13px;
20
- color: $font-color;
20
+ color: var(--font-color);
21
21
  }
22
22
 
23
23
  @media screen and (max-width: 640px) {
@@ -31,14 +31,14 @@ i {
31
31
  }
32
32
 
33
33
  a {
34
- color: $theme-dark;
34
+ color: var(--theme-dark);
35
35
  font-weight: 600;
36
36
  cursor: pointer;
37
37
  text-decoration: none;
38
38
 
39
39
  &:hover,
40
40
  &:visited {
41
- color: $theme-dark;
41
+ color: var(--theme-dark);
42
42
  }
43
43
  }
44
44
 
@@ -64,7 +64,7 @@ ul {
64
64
  }
65
65
 
66
66
  ::-webkit-scrollbar-track {
67
- background: $grey-light;
67
+ background: var(--grey-light);
68
68
  border-radius: 7px;
69
69
  }
70
70
 
@@ -93,7 +93,7 @@ ul {
93
93
  }
94
94
 
95
95
  .form-container {
96
- color: $form-labels-color;
96
+ color: var(--form-labels-color);
97
97
  }
98
98
 
99
99
  .dump-field {