@sumaris-net/ngx-components 4.0.0-rc12 → 4.0.0-rc14

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "4.0.0-rc12",
4
+ "version": "4.0.0-rc14",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -108,7 +108,7 @@
108
108
 
109
109
  --app-table-header-height: #{$app-table-header-height};
110
110
  --app-toolbar-height: #{$app-toolbar-height};
111
- --app-paginator-height: #{$app-paginator-height};
111
+ //--app-paginator-height: #{$app-paginator-height};
112
112
  --app-form-buttons-bar-height: #{$app-form-buttons-bar-height};
113
113
  --app-footer-height: var(--app-form-buttons-bar-height);
114
114
  --mat-tab-link-height: #{$mat-tab-link-height};
@@ -351,6 +351,23 @@
351
351
  // Suffix
352
352
  .mat-mdc-form-field-icon-suffix {
353
353
  white-space: nowrap;
354
+
355
+ .mat-mdc-icon-button {
356
+ width: 24px;
357
+ height: 24px;
358
+ padding: 2px 0 0 0;
359
+
360
+ ion-icon, .mat-icon {
361
+ $font-size: calculateRem(18px);
362
+ font-size: $font-size;
363
+ line-height: 1.125;
364
+ }
365
+
366
+ .mat-mdc-button-touch-target {
367
+ width: 24px;
368
+ }
369
+ }
370
+
354
371
  }
355
372
 
356
373
  // Specific behavior for chips
@@ -391,22 +408,6 @@
391
408
 
392
409
  } // .mat-mdc-form-field
393
410
 
394
- // Specific icon button styles
395
- .mat-mdc-icon-button {
396
- width: 24px;
397
- height: 24px;
398
- padding: 2px 0 0 0;
399
-
400
- ion-icon, .mat-icon {
401
- $font-size: calculateRem(18px);
402
- font-size: $font-size;
403
- line-height: 1.125;
404
- }
405
-
406
- .mat-mdc-button-touch-target {
407
- width: 24px;
408
- }
409
- }
410
411
 
411
412
  .mat-boolean-field-radio.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-infix,
412
413
  .mat-boolean-field-radio .mat-mdc-form-field-infix {
@@ -553,37 +554,30 @@
553
554
  //}
554
555
  }
555
556
 
556
- .mat-paginator-footer {
557
- height: var(--app-paginator-height);
558
- background-color: whitesmoke;
559
-
560
- .mat-mdc-paginator-outer-container {
561
- height: var(--app-paginator-height);
562
- overflow-y: hidden;
563
-
564
- .mat-mdc-paginator-container {
565
- height: var(--app-paginator-height);
566
- min-height: unset;
567
- margin-top: 3px;
557
+ .mat-mdc-paginator {
558
+ --mat-paginator-container-size: #{$app-paginator-height};
559
+ --mat-paginator-container-background-color: whitesmoke;
560
+ overflow-y: hidden;
568
561
 
569
- button {
570
- height: var(--app-paginator-height);
571
- width: var(--app-paginator-height);
572
- //line-height: var(--app-paginator-height);
573
- padding: 6px;
574
-
575
- .mat-mdc-button-touch-target {
576
- height: var(--app-paginator-height);
577
- width: var(--app-paginator-height);
578
- }
562
+ .mat-mdc-paginator-page-size-select {
563
+ height: var(--mat-paginator-container-size) !important;
564
+ margin-top: -10px;
579
565
 
580
- }
566
+ .mat-mdc-form-field-infix {
567
+ height: var(--mat-paginator-container-size) !important;
581
568
  }
582
569
  }
570
+
571
+ button {
572
+ --mdc-icon-button-state-layer-size: var(--mat-paginator-container-size) !important;
573
+ padding: 6px !important;
574
+ }
575
+
583
576
  }
584
577
 
585
578
  html.plt-mobile {
586
579
 
580
+ // fixme: class mat-paginator-footer not used anymore, use .mat-mdc-paginator
587
581
  .mat-paginator-footer {
588
582
  .mat-paginator-outer-container {
589
583
  .mat-paginator-container {