@ecodev/natural 66.0.5 → 66.0.6
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/fesm2022/ecodev-natural.mjs +2 -2
- package/fesm2022/ecodev-natural.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/_natural.scss +36 -5
- package/src/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.scss +8 -0
- package/src/lib/modules/panels/panels.scss +7 -7
package/package.json
CHANGED
package/src/lib/_natural.scss
CHANGED
|
@@ -33,6 +33,21 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
body {
|
|
36
|
+
// Fix a bug where hover on errored form fields show on-error color (white) label on grey background
|
|
37
|
+
@include mat.form-field-overrides(
|
|
38
|
+
(
|
|
39
|
+
filled-error-hover-label-text-color: var(--mat-sys-error),
|
|
40
|
+
filled-error-hover-active-indicator-color: var(--mat-sys-error),
|
|
41
|
+
)
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
@include mat.dialog-overrides(
|
|
45
|
+
(
|
|
46
|
+
container-color: var(--mat-sys-surface-bright),
|
|
47
|
+
container-elevation-shadow: var(--mat-sys-level5),
|
|
48
|
+
)
|
|
49
|
+
);
|
|
50
|
+
|
|
36
51
|
--nat-elevation: inset 0 1px rgba(255, 255, 255, 0.3), var(--mat-sys-level1);
|
|
37
52
|
--nat-gradient-primary: linear-gradient(
|
|
38
53
|
175deg,
|
|
@@ -189,7 +204,13 @@ h6 {
|
|
|
189
204
|
}
|
|
190
205
|
|
|
191
206
|
// Nice todo angular 21 : replace tonal by m3-utils.color-with-opacity(map.get($system, on-surface), 12%),
|
|
192
|
-
|
|
207
|
+
.mdc-button {
|
|
208
|
+
@include mat.button-overrides(
|
|
209
|
+
(
|
|
210
|
+
protected-container-color: color-mix(in srgb, transparent 92%, black),
|
|
211
|
+
)
|
|
212
|
+
);
|
|
213
|
+
|
|
193
214
|
&.mat-error,
|
|
194
215
|
&[color='error'] {
|
|
195
216
|
@include mat.button-overrides(
|
|
@@ -199,8 +220,7 @@ h6 {
|
|
|
199
220
|
filled-label-text-color: var(--mat-sys-on-error-container),
|
|
200
221
|
tonal-container-color: color-mix(in srgb, var(--mat-sys-error-container) 12%, transparent),
|
|
201
222
|
tonal-label-text-color: var(--mat-sys-on-surface),
|
|
202
|
-
protected-
|
|
203
|
-
protected-label-text-color: white,
|
|
223
|
+
protected-label-text-color: var(--mat-sys-error-container),
|
|
204
224
|
outlined-outline-color: var(--mat-sys-error-container),
|
|
205
225
|
outlined-label-text-color: var(--mat-sys-error-container),
|
|
206
226
|
)
|
|
@@ -216,8 +236,7 @@ h6 {
|
|
|
216
236
|
filled-label-text-color: var(--mat-sys-on-tertiary-container),
|
|
217
237
|
tonal-container-color: color-mix(in srgb, var(--mat-sys-tertiary-container) 12%, transparent),
|
|
218
238
|
tonal-label-text-color: var(--mat-sys-on-surface),
|
|
219
|
-
protected-
|
|
220
|
-
protected-label-text-color: white,
|
|
239
|
+
protected-label-text-color: var(--mat-sys-tertiary-container),
|
|
221
240
|
outlined-outline-color: var(--mat-sys-tertiary-container),
|
|
222
241
|
outlined-label-text-color: var(--mat-sys-tertiary-container),
|
|
223
242
|
)
|
|
@@ -225,6 +244,18 @@ h6 {
|
|
|
225
244
|
}
|
|
226
245
|
}
|
|
227
246
|
|
|
247
|
+
// In fab speed dials, mini fabs are tertiary as well as default fab buttons
|
|
248
|
+
eco-fab-speed-dial .mdc-fab {
|
|
249
|
+
@include mat.fab-overrides(
|
|
250
|
+
(
|
|
251
|
+
container-color: var(--mat-sys-tertiary-container),
|
|
252
|
+
foreground-color: var(--mat-sys-on-tertiary-container),
|
|
253
|
+
small-container-color: var(--mat-sys-tertiary-container),
|
|
254
|
+
small-foreground-color: var(--mat-sys-on-tertiary-container),
|
|
255
|
+
)
|
|
256
|
+
);
|
|
257
|
+
}
|
|
258
|
+
|
|
228
259
|
.mdc-fab,
|
|
229
260
|
.mdc-mini-fab {
|
|
230
261
|
&.mat-primary,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
|
|
3
3
|
.cdk-overlay-container {
|
|
4
|
-
@include mat.dialog-overrides(
|
|
5
|
-
(
|
|
6
|
-
container-shape: 0,
|
|
7
|
-
container-max-width: 100vw,
|
|
8
|
-
)
|
|
9
|
-
);
|
|
10
|
-
|
|
11
4
|
.panel {
|
|
5
|
+
@include mat.dialog-overrides(
|
|
6
|
+
(
|
|
7
|
+
container-shape: 0,
|
|
8
|
+
container-max-width: 100vw,
|
|
9
|
+
)
|
|
10
|
+
);
|
|
11
|
+
|
|
12
12
|
margin: 10px;
|
|
13
13
|
box-shadow: var(--mat-sys-level2);
|
|
14
14
|
max-width: calc(100vw - 84px);
|