@ecodev/natural 70.2.4 → 70.3.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.
package/package.json
CHANGED
package/src/lib/_natural.scss
CHANGED
|
@@ -72,6 +72,13 @@ body {
|
|
|
72
72
|
font-weight: 500;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
.nat-fixed-fab {
|
|
76
|
+
position: fixed !important;
|
|
77
|
+
right: 32px;
|
|
78
|
+
bottom: 32px;
|
|
79
|
+
z-index: 999;
|
|
80
|
+
}
|
|
81
|
+
|
|
75
82
|
// Most of our sidenav menus (mainly in admin) use simple nat-gradient-* that applies a contrasted text color
|
|
76
83
|
// that is overridden by material on child element
|
|
77
84
|
// This instruction activate text color inheritance to simplify html and css for active routes.
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
|
|
3
3
|
:host {
|
|
4
|
-
position: fixed !important;
|
|
5
|
-
right: 32px;
|
|
6
|
-
|
|
7
|
-
// Default bottom right
|
|
8
|
-
bottom: 32px;
|
|
9
|
-
z-index: 999; // < than 1000 that is the z-index of overlay contents
|
|
10
|
-
|
|
11
4
|
@include mat.fab-overrides(
|
|
12
5
|
(
|
|
13
6
|
container-color: var(--mat-sys-tertiary-container),
|
|
@@ -3107,12 +3107,13 @@ declare class NaturalFileComponent implements OnInit, OnChanges {
|
|
|
3107
3107
|
declare const commonImageMimeTypes = "image/avif,image/bmp,image/x-ms-bmp,image/gif,image/heic,image/heif,image/jpeg,image/pjpeg,image/png,image/svg+xml,image/svg,image/webp";
|
|
3108
3108
|
|
|
3109
3109
|
declare class NaturalFixedButtonComponent {
|
|
3110
|
-
readonly icon: i0.InputSignal<string>;
|
|
3110
|
+
readonly icon: i0.InputSignal<string | undefined>;
|
|
3111
|
+
readonly label: i0.InputSignal<string | undefined>;
|
|
3111
3112
|
readonly link: i0.InputSignal<string | readonly any[] | _angular_router.UrlTree | null | undefined>;
|
|
3112
3113
|
readonly color: i0.InputSignal<NaturalPalette>;
|
|
3113
3114
|
readonly disabled: i0.InputSignal<boolean>;
|
|
3114
3115
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonComponent, never>;
|
|
3115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonComponent, "natural-fixed-button", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonComponent, "natural-fixed-button", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3116
3117
|
}
|
|
3117
3118
|
|
|
3118
3119
|
type Model = {
|