@onemrvapublic/design-system-theme 17.2.39 → 17.2.41
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/components/_buttons.scss +10 -2
- package/components/_cards.scss +6 -0
- package/components/_select.scss +2 -1
- package/components/_text-inputs.scss +3 -4
- package/components/_/302/265.scss +2 -2
- package/esm2022/lib/theme.module.mjs +4 -4
- package/fesm2022/onemrvapublic-design-system-theme.mjs +4 -4
- package/index.scss +0 -5
- package/package.json +1 -1
package/components/_buttons.scss
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
2
|
@use "./µ";
|
|
3
|
-
//@import "@angular/material/theming";
|
|
4
3
|
@import "../utilities/variables";
|
|
5
4
|
|
|
6
|
-
@mixin theme($theme) {
|
|
5
|
+
@mixin theme($theme, $loadMaterial : false) {
|
|
6
|
+
@if $loadMaterial {
|
|
7
|
+
// TODO
|
|
8
|
+
@include mat.button-base($theme);
|
|
9
|
+
@include mat.button-theme($theme);
|
|
10
|
+
@include mat.button-typography($theme);
|
|
11
|
+
@include mat.button-color($theme);
|
|
12
|
+
@include mat.button-density($theme);
|
|
13
|
+
}
|
|
14
|
+
|
|
7
15
|
$spacer: map-get($theme, "spacer");
|
|
8
16
|
$accent400: µ.accent($theme, 400);
|
|
9
17
|
$accent500: µ.accent($theme, 500);
|
package/components/_cards.scss
CHANGED
package/components/_select.scss
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
@use "./µ";
|
|
4
4
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
|
-
.mat-mdc-
|
|
6
|
+
.mat-mdc-select {
|
|
7
|
+
--mat-select-invalid-arrow-color: #{µ.error($theme, 500)};
|
|
7
8
|
.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
|
|
8
9
|
padding: 12px 0;
|
|
9
10
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
line-height: 1.125;
|
|
25
25
|
|
|
26
26
|
.mat-mdc-form-field-required-marker{
|
|
27
|
-
color: µ.
|
|
27
|
+
color: µ.error($theme, 500);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
@@ -230,10 +230,9 @@
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.mat-mdc-text-field-wrapper.mdc-text-field--outlined
|
|
234
|
-
.mat-mdc-form-field-infix {
|
|
233
|
+
.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
|
|
235
234
|
min-height: 46px;
|
|
236
|
-
padding:
|
|
235
|
+
padding: 12px 0;
|
|
237
236
|
}
|
|
238
237
|
}
|
|
239
238
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@forward '
|
|
2
|
-
@forward '
|
|
1
|
+
@forward './µ-colors';
|
|
2
|
+
@forward './µ-typography';
|
|
@@ -2,9 +2,9 @@ import { NgModule } from '@angular/core';
|
|
|
2
2
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS, } from '@angular/material/form-field';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class OnemrvaThemeModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.3", ngImport: i0, type: OnemrvaThemeModule }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: OnemrvaThemeModule, providers: [
|
|
8
8
|
{
|
|
9
9
|
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
10
10
|
useValue: {
|
|
@@ -14,7 +14,7 @@ export class OnemrvaThemeModule {
|
|
|
14
14
|
},
|
|
15
15
|
] }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
|
|
18
18
|
type: NgModule,
|
|
19
19
|
args: [{
|
|
20
20
|
providers: [
|
|
@@ -3,9 +3,9 @@ import { NgModule } from '@angular/core';
|
|
|
3
3
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
4
4
|
|
|
5
5
|
class OnemrvaThemeModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.3", ngImport: i0, type: OnemrvaThemeModule }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: OnemrvaThemeModule, providers: [
|
|
9
9
|
{
|
|
10
10
|
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
11
11
|
useValue: {
|
|
@@ -15,7 +15,7 @@ class OnemrvaThemeModule {
|
|
|
15
15
|
},
|
|
16
16
|
] }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
providers: [
|
package/index.scss
CHANGED
|
@@ -109,11 +109,6 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
@mixin onemrva($b: variables.$breakpoints) {
|
|
112
|
-
.onemrva-shadow-highlight {
|
|
113
|
-
&:hover {
|
|
114
|
-
box-shadow: 0px 2px 6px #00000026 !important;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
112
|
|
|
118
113
|
@include mat.core-theme(variables.$onemrva-theme);
|
|
119
114
|
@include mat.all-component-themes(variables.$onemrva-theme);
|