@sumaris-net/ngx-components 18.1.3 → 18.1.5

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": "18.1.3",
4
+ "version": "18.1.5",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -82,7 +82,7 @@ export declare class AppFormArray<T = Entity<any>, C extends AbstractControl = A
82
82
  createControl: (value?: T) => C;
83
83
  private equals;
84
84
  private isEmpty;
85
- private readonly options;
85
+ readonly options: AppFormArrayOptions;
86
86
  get allowEmptyArray(): boolean;
87
87
  set allowEmptyArray(value: boolean);
88
88
  get allowManyNullValues(): boolean;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "18.1.3",
5
+ "version": "18.1.5",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -19,10 +19,7 @@
19
19
  .mat-mdc-tab-group.mat-primary .mat-ink-bar, .mat-mdc-tab-nav-bar.mat-primary .mat-ink-bar {
20
20
  background-color: var(--ion-color-primary, $primary);
21
21
  }
22
- // Keep some style element that have changed after angular 15 migration
23
- .mdc-tab {
24
- min-width: 160px !important;
25
- }
22
+
26
23
  .mat-mdc-tab-group, .mat-mdc-tab-nav-bar {
27
24
  --mat-tab-header-active-label-text-color: rgba($text-color-rgb, .8);
28
25
  --mat-tab-header-active-focus-label-text-color: rgba($text-color-rgb, .8);
@@ -52,3 +52,22 @@
52
52
  --mat-tab-header-divider-color: var(--ion-border-color, rgba(0,0,0,.12)) !important;
53
53
  }
54
54
  }
55
+
56
+ // Keep some style element that have changed after angular 15 migration
57
+ // (but keep new style if enable stretch tabs)
58
+ .mat-mdc-tab-group:not(.mat-mdc-tab-group-stretch-tabs) {
59
+ .mdc-tab {
60
+ min-width: 160px;
61
+ }
62
+ }
63
+
64
+
65
+ // Smaller tab label padding, on xxs device
66
+ @media screen and (max-width: $screen-xxs-max) {
67
+ .mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs {
68
+ .mdc-tab {
69
+ // Reduce horizontal padding in tab label, from 24px to 16px (should be enough for badge)
70
+ padding: 0 16px;
71
+ }
72
+ }
73
+ }