@sumaris-net/ngx-components 18.1.3 → 18.1.4
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/doc/changelog.md +4 -0
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +5 -4
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +5 -4
- package/fesm2022/sumaris-net.ngx-components.mjs +4 -4
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_material.scss +1 -4
- package/src/theme/_ngx-components.tabs.scss +19 -0
package/package.json
CHANGED
package/src/assets/manifest.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "18.1.4",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
package/src/theme/_material.scss
CHANGED
|
@@ -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
|
-
|
|
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
|
+
}
|