@natec/mef-dev-ui-kit 20.1.22 → 20.1.23

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/index.d.ts CHANGED
@@ -9,10 +9,10 @@ import * as i5 from '@angular/forms';
9
9
  import { ControlValueAccessor, AbstractControl, FormGroupDirective, NgForm, NgControl, Validator, ValidationErrors } from '@angular/forms';
10
10
  import * as i7 from '@angular/cdk/bidi';
11
11
  import { Directionality, Direction } from '@angular/cdk/bidi';
12
- import { FocusableOption, FocusOrigin, ActiveDescendantKeyManager, FocusKeyManager } from '@angular/cdk/a11y';
13
12
  import { CdkAccordion, CdkAccordionItem } from '@angular/cdk/accordion';
14
13
  import * as i3 from '@angular/cdk/portal';
15
14
  import { TemplatePortal, ComponentPortal, CdkPortalOutlet, CdkPortal } from '@angular/cdk/portal';
15
+ import { FocusableOption, FocusOrigin, ActiveDescendantKeyManager, FocusKeyManager } from '@angular/cdk/a11y';
16
16
  import * as i1$3 from '@angular/cdk/dialog';
17
17
  import { DialogConfig, CdkDialogContainer, DialogRef, Dialog } from '@angular/cdk/dialog';
18
18
  import * as i1$2 from '@angular/cdk/scrolling';
@@ -161,7 +161,7 @@ declare class CollapseSetComponent {
161
161
  static ɵcmp: i0.ɵɵComponentDeclaration<CollapseSetComponent, "mefdev-collapse-set", never, { "expandAny": { "alias": "expandAny"; "required": false; }; "Accordion": { "alias": "Accordion"; "required": false; }; "Horizontal": { "alias": "Horizontal"; "required": false; }; }, {}, never, ["*"], false, never>;
162
162
  }
163
163
 
164
- declare const mefDevCollapseModuleComponents: (typeof CollapseSetComponent | typeof CollapseComponent)[];
164
+ declare const mefDevCollapseModuleComponents: (typeof CollapseComponent | typeof CollapseSetComponent)[];
165
165
  declare class MefDevCollapseModule {
166
166
  static forRoot(): ModuleWithProviders<MefDevCollapseModule>;
167
167
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevCollapseModule, never>;
@@ -2050,7 +2050,7 @@ declare class MDAccordion extends CdkAccordion implements AccordionBase, AfterCo
2050
2050
  static ngAcceptInputType_hideToggle: unknown;
2051
2051
  }
2052
2052
 
2053
- declare const components: (typeof ExpansionPanelDescription)[];
2053
+ declare const components: (typeof ExpansionPanelActionRow)[];
2054
2054
  declare class MDCollapseModule {
2055
2055
  static ɵfac: i0.ɵɵFactoryDeclaration<MDCollapseModule, never>;
2056
2056
  static ɵmod: i0.ɵɵNgModuleDeclaration<MDCollapseModule, never, [typeof i1.CommonModule, typeof MDAccordion, typeof MDExpansionPanel, typeof ExpansionPanelActionRow, typeof MDExpansionPanelHeader, typeof ExpansionPanelTitle, typeof ExpansionPanelDescription, typeof MDExpansionPanelContent], [typeof MDAccordion, typeof MDExpansionPanel, typeof ExpansionPanelActionRow, typeof MDExpansionPanelHeader, typeof ExpansionPanelTitle, typeof ExpansionPanelDescription, typeof MDExpansionPanelContent]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natec/mef-dev-ui-kit",
3
- "version": "20.1.22",
3
+ "version": "20.1.23",
4
4
  "description": "MEF.DEV UI Kit Library",
5
5
  "author": {
6
6
  "name": "NATEC"
@@ -2,10 +2,7 @@
2
2
  @use 'fonts.scss' as *;
3
3
  @use 'icons.scss' as *;
4
4
 
5
- @use 'pg/_color.scss' as *;
6
- @use 'pg/_mixins.scss' as *;
7
-
8
- // depricated styles, to be removed in future releases
5
+ // Deprecated styles, to be removed in future releases
9
6
  @use 'pg/modules/_tabs_accordian.scss' as *;
10
7
  @use 'pg/modules/_tabs.scss' as *;
11
8
  @use 'pg/modules/_switch.scss' as *;
@@ -24,6 +21,32 @@
24
21
  @use 'pg/vendor/md-grid.scss' as *;
25
22
  @use 'pg/toaster.scss' as *;
26
23
 
24
+ // Bootstrap CSS custom properties override
25
+ :root {
26
+ // Colors
27
+ --bs-primary: #{$Link};
28
+ --bs-secondary: #{$Light-Gray-1};
29
+ --bs-success: #{$Green};
30
+ --bs-danger: #{$Red};
31
+ --bs-warning: #{$Yellow};
32
+ --bs-info: #{$Link-on-dark};
33
+ --bs-light: #{$Light-Gray-3};
34
+ --bs-dark: #{$Black-Color};
35
+
36
+ // Typography
37
+ --bs-body-font-family: #{$font-body};
38
+ --bs-body-color: #{$Black-Color};
39
+ --bs-body-bg: #{$White};
40
+
41
+ // Links
42
+ --bs-link-color: #{$Link};
43
+ --bs-link-hover-color: #{$Red};
44
+
45
+ // Borders
46
+ --bs-border-color: #{$Light-Gray-2};
47
+ --bs-border-radius: #{$default-border-size};
48
+ }
49
+
27
50
  .ql-container {
28
51
  height: 240px;
29
52
  }
@@ -35,18 +58,18 @@ a:hover * {
35
58
  .ql-toolbar.ql-snow {
36
59
  border-top-left-radius: 5px;
37
60
  border-top-right-radius: 5px;
38
- border-color: #f3f3f3;
39
- background: white;
61
+ border-color: $Light-Gray-3;
62
+ background: $White;
40
63
  }
41
64
 
42
65
  .ql-toolbar.ql-snow + .ql-container.ql-snow {
43
66
  border-bottom-left-radius: 5px;
44
67
  border-bottom-right-radius: 5px;
45
- background-color: white;
46
- border-color: #f3f3f3;
68
+ background-color: $White;
69
+ border-color: $Light-Gray-3;
47
70
  }
48
71
 
49
72
  .badge {
50
73
  --bs-badge-padding-x: 1.0em;
51
74
  --bs-badge-padding-y: 0.5em;
52
- }
75
+ }
@@ -3,13 +3,12 @@
3
3
  $assets-url: "../../assets" ;
4
4
  */
5
5
  @use '../../vars.scss' as *;
6
- @use '../_mixins.scss' as mix;
7
6
  @use 'sass:color' as color;
8
7
 
9
8
  .card {
10
- @include mix.box-shadow(none);
11
- @include mix.border-radius(1px);
12
- @include mix.transition(all 0.2s ease);
9
+ box-shadow: none;
10
+ border-radius: 1px;
11
+ transition: all 0.2s ease;
13
12
  position: relative;
14
13
  margin-bottom: 20px;
15
14
  width: 100%;
@@ -47,7 +46,7 @@ $assets-url: "../../assets" ;
47
46
  text-overflow: ellipsis;
48
47
  -webkit-text-stroke: 0px;
49
48
  filter: alpha(opacity=40);
50
- @include mix.transition(opacity 0.3s ease);
49
+ transition: opacity 0.3s ease;
51
50
  }
52
51
  .card-controls {
53
52
  float: right;
@@ -116,7 +115,7 @@ $assets-url: "../../assets" ;
116
115
  &.card-transparent {
117
116
  background: transparent;
118
117
  border: none;
119
- @include mix.box-shadow(none);
118
+ box-shadow: none;
120
119
  .card-body {
121
120
  background: transparent;
122
121
  }
@@ -130,7 +129,7 @@ $assets-url: "../../assets" ;
130
129
  }
131
130
  }
132
131
  &.card-featured {
133
- @include mix.box-shadow(-1px 1px 3px 0px rgba(121, 129, 135, 0.14));
132
+ box-shadow: -1px 1px 3px 0px rgba(121, 129, 135, 0.14);
134
133
  width: calc(100% - 50px);
135
134
  float: right;
136
135
  .card-title {
@@ -176,7 +175,7 @@ $assets-url: "../../assets" ;
176
175
  height: 38px;
177
176
  margin-left: -39px;
178
177
  float: left;
179
- @include mix.box-shadow(inset -3px 0px 3px 0px rgba(0, 0, 0, 0.14));
178
+ box-shadow: inset -3px 0px 3px 0px rgba(0, 0, 0, 0.14);
180
179
  &.green {
181
180
  background: $color-complete;
182
181
  }
@@ -275,7 +274,7 @@ $assets-url: "../../assets" ;
275
274
  padding-top: 10px;
276
275
  padding-bottom: 10px;
277
276
  &.card-refresh {
278
- @include mix.transition(opacity 0.3s ease);
277
+ transition: opacity 0.3s ease;
279
278
  &.refreshing {
280
279
  opacity: 1;
281
280
  }
@@ -333,7 +332,7 @@ $assets-url: "../../assets" ;
333
332
  height: 15px;
334
333
  display: block;
335
334
  background-size: cover;
336
- @include mix.transition(opacity 0.3s ease);
335
+ transition: opacity 0.3s ease;
337
336
  &.fade {
338
337
  opacity: 0.1;
339
338
  }
@@ -347,7 +346,7 @@ $assets-url: "../../assets" ;
347
346
  display: block;
348
347
  background-size: cover;
349
348
  opacity: 0;
350
- @include mix.transition(opacity 0.3s ease);
349
+ transition: opacity 0.3s ease;
351
350
  &.active {
352
351
  opacity: 1;
353
352
  }
@@ -1,5 +1,4 @@
1
1
  @use '../../vars.scss' as *;
2
- @use '../_mixins.scss' as mix;
3
2
  @use "sass:color" as color;
4
3
 
5
4
  $select-prefix-cls: "pg-select";
@@ -291,7 +290,14 @@ $background-color-base:$color-master-lighter;
291
290
  min-height: $input-height-base;
292
291
  cursor: text;
293
292
  padding-bottom: 3px;
294
- @include mix.clearfix;
293
+ &:before,
294
+ &:after {
295
+ content: " ";
296
+ display: table;
297
+ }
298
+ &:after {
299
+ clear: both;
300
+ }
295
301
  .pg-select-selection__placeholder{
296
302
  left: 6px;
297
303
  }
@@ -3,7 +3,6 @@
3
3
  */
4
4
  @use 'sass:color';
5
5
  @use '../../vars.scss' as *;
6
- @use '../_mixins.scss' as mix;
7
6
 
8
7
  body {
9
8
  &.mobile {
@@ -1,6 +1,5 @@
1
1
  @use "sass:color";
2
2
  @use '../../vars.scss' as *;
3
- @use '../_mixins.scss' as mix;
4
3
 
5
4
  $disabled-color_:$color-master-lighter;
6
5
  $font-size-base:14px;
@@ -51,7 +50,7 @@ $ease-in-out-circ:ease;
51
50
  }
52
51
 
53
52
  &:focus {
54
- box-shadow: 0 0 0 2px fade($color-master-light, 20%);
53
+ box-shadow: 0 0 0 2px rgba($color-master-light, 0.2);
55
54
  outline: 0;
56
55
  }
57
56
 
@@ -1,7 +1,6 @@
1
1
  @use "sass:color";
2
2
  @use '../../vars.scss' as *;
3
3
  @use '../../fonts.scss' as *;
4
- @use '../_mixins.scss' as mix;
5
4
 
6
5
  mefdev-tab, mefdev-tabs-nav, mefdev-tabset {
7
6
  display: block;
@@ -8,7 +8,6 @@
8
8
 
9
9
  @use "sass:color";
10
10
  @use '../../vars.scss' as *;
11
- @use '../_mixins.scss' as mix;
12
11
 
13
12
  .nav-tabs {
14
13
  position: relative;
@@ -35,7 +34,7 @@
35
34
  font-family: Montserrat;
36
35
  font-weight: 500;
37
36
  letter-spacing: 0.06em;
38
- color: fade($color-master, 70%);
37
+ color: rgba($color-master, 0.7);
39
38
  font-size: 10.5px;
40
39
  min-width: 70px;
41
40
  border-color: transparent;
@@ -57,20 +56,20 @@
57
56
  & > .tab-pane {
58
57
  &.slide-left,
59
58
  &.slide-right {
60
- @include mix.transition(all .3s ease);
59
+ transition: all .3s ease;
61
60
  &.sliding {
62
61
  opacity: 0 !important;
63
62
  }
64
63
  &.active {
65
- @include mix.translate3d(0, 0, 0);
64
+ transform: translate3d(0, 0, 0);
66
65
  opacity: 1;
67
66
  }
68
67
  }
69
68
  &.slide-left.sliding {
70
- @include mix.translate3d(10%, 0, 0);
69
+ transform: translate3d(10%, 0, 0);
71
70
  }
72
71
  &.slide-right.sliding {
73
- @include mix.translate3d(-10%, 0, 0);
72
+ transform: translate3d(-10%, 0, 0);
74
73
  }
75
74
  }
76
75
  }
@@ -135,8 +134,8 @@
135
134
  & > a{
136
135
  &:after {
137
136
  position: absolute;
138
- @include mix.transition(all 0.1s linear 0s);
139
- -webkit-backface-visibility: hidden;
137
+ transition: all 0.1s linear 0s;
138
+ backface-visibility: hidden;
140
139
  width: 100%;
141
140
  display: block;
142
141
  background-color: $color-danger;
@@ -268,7 +267,7 @@
268
267
  &:hover,
269
268
  &:focus {
270
269
  overflow: visible;
271
- @include mix.transition( color 0.2s ease 0s);
270
+ transition: color 0.2s ease 0s;
272
271
  }
273
272
  }
274
273
  }
@@ -346,16 +345,16 @@
346
345
  */
347
346
 
348
347
  .nav-tabs-fillup {
349
- @include mix.backface-visibility(hidden);
350
- @include mix.perspective(1000);
348
+ backface-visibility: hidden;
349
+ perspective: 1000px;
351
350
  & > li {
352
351
  overflow: hidden;
353
352
  & > a {
354
- @include mix.backface-visibility(hidden);
355
- @include mix.transition(color 0.3s ease 0s);
353
+ backface-visibility: hidden;
354
+ transition: color 0.3s ease 0s;
356
355
  background: transparent;
357
356
  &:after {
358
- @include mix.backface-visibility(hidden);
357
+ backface-visibility: hidden;
359
358
  background: none repeat scroll 0 0 $color-success;
360
359
  border: 1px solid $color-success;
361
360
  content: "";
@@ -363,13 +362,7 @@
363
362
  left: 0;
364
363
  position: absolute;
365
364
  top: 0;
366
- -webkit-transform: translate3d(0,
367
- 100%,
368
- 0px);
369
- transform: translate3d(0,
370
- 100%,
371
- 0px);
372
- -webkit-transition: -webkit-transform 0.3s ease 0s;
365
+ transform: translate3d(0, 100%, 0px);
373
366
  transition: transform 0.3s ease 0s;
374
367
  width: 100%;
375
368
  z-index: -1;
@@ -399,10 +392,8 @@
399
392
  }
400
393
  }
401
394
  span {
402
- @include mix.backface-visibility(hidden);
403
- -webkit-transform: translate3d(0px, 5px, 0px);
395
+ backface-visibility: hidden;
404
396
  transform: translate3d(0px, 5px, 0px);
405
- -webkit-transition: -webkit-transform 0.5s ease 0s;
406
397
  transition: transform 0.5s ease 0s;
407
398
  display: block;
408
399
  font-weight: 700;
@@ -418,17 +409,17 @@
418
409
  color: #fff;
419
410
  }
420
411
  &:after {
421
- @include mix.translate3d(0px, 0px, 0px);
412
+ transform: translate3d(0px, 0px, 0px);
422
413
  }
423
414
  span {
424
- @include mix.translate3d(0px, -5px, 0px);
415
+ transform: translate3d(0px, -5px, 0px);
425
416
  }
426
417
  }
427
418
  }
428
419
  }
429
420
  .icon:before {
430
- @include mix.translate3d(0px, 5px, 0px);
431
- @include mix.transition(transform 0.5s ease 0s);
421
+ transform: translate3d(0px, 5px, 0px);
422
+ transition: transform 0.5s ease 0s;
432
423
  display: block;
433
424
  margin: 0;
434
425
  }
@@ -451,7 +442,7 @@
451
442
  }
452
443
  &.active {
453
444
  a{&:after {
454
- @include mix.translate3d(0px, 0px, 0px);
445
+ transform: translate3d(0px, 0px, 0px);
455
446
  }
456
447
  }
457
448
  }
@@ -461,19 +452,19 @@
461
452
  & > li {
462
453
  & > a {
463
454
  &:after {
464
- @include mix.translate3d(100%, 0, 0);
455
+ transform: translate3d(100%, 0, 0);
465
456
  }
466
457
  span {
467
- @include mix.translate3d(5px, 0, 0px);
458
+ transform: translate3d(5px, 0, 0px);
468
459
  }
469
460
  }
470
461
  &.active {
471
462
  a{span {
472
- @include mix.translate3d(-5px, 0, 0px);
463
+ transform: translate3d(-5px, 0, 0px);
473
464
  }
474
465
  }
475
466
  .icon:before {
476
- @include mix.translate3d(-5px, 0, 0px);
467
+ transform: translate3d(-5px, 0, 0px);
477
468
  }
478
469
  }
479
470
  }
@@ -482,20 +473,20 @@
482
473
  & > li {
483
474
  & > a {
484
475
  &:after {
485
- @include mix.translate3d(-100%, 0, 0);
476
+ transform: translate3d(-100%, 0, 0);
486
477
  left: -1px;
487
478
  }
488
479
  span {
489
- @include mix.translate3d(-5px, 0, 0px);
480
+ transform: translate3d(-5px, 0, 0px);
490
481
  }
491
482
  }
492
483
  &.active {
493
484
  a{span {
494
- @include mix.translate3d(5px, 0, 0px);
485
+ transform: translate3d(5px, 0, 0px);
495
486
  }
496
487
  }
497
488
  .icon:before {
498
- @include mix.translate3d(5px, 0, 0px);
489
+ transform: translate3d(5px, 0, 0px);
499
490
  }
500
491
  }
501
492
  }
@@ -599,12 +590,11 @@
599
590
  color: $color-master;
600
591
  }
601
592
  &.collapsed {
602
- color: fade($color-master,
603
- 70%);
593
+ color: rgba($color-master, 0.7);
604
594
  opacity: 1;
605
595
  &:after {
606
596
  content: "\f055";
607
- color: fade($color-master, 70%);
597
+ color: rgba($color-master, 0.7);
608
598
  opacity: .7;
609
599
  }
610
600
  &:hover {
@@ -6,7 +6,6 @@
6
6
  --------------------------------------------------
7
7
  */
8
8
  @use '../../vars.scss' as *;
9
- @use '../_mixins.scss' as mix;
10
9
  @use 'sass:color' as color;
11
10
 
12
11
  html {