@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.
@@ -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);
@@ -5,6 +5,12 @@
5
5
  @mixin theme($theme) {
6
6
  $border-radius: 20px;
7
7
 
8
+ .onemrva-shadow-highlight {
9
+ &:hover {
10
+ box-shadow: 0 2px 6px #00000026 !important;
11
+ }
12
+ }
13
+
8
14
  .mat-mdc-card {
9
15
  box-shadow: none !important;
10
16
  border-radius: $border-radius;
@@ -3,7 +3,8 @@
3
3
  @use "./µ";
4
4
 
5
5
  @mixin theme($theme) {
6
- .mat-mdc-form-field-type-mat-select {
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: µ.accent($theme, 500);
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: 1em 0;
235
+ padding: 12px 0;
237
236
  }
238
237
  }
239
238
 
@@ -1,2 +1,2 @@
1
- @forward 'µ-colors';
2
- @forward 'µ-typography';
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.2", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.2", ngImport: i0, type: OnemrvaThemeModule }); }
7
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: OnemrvaThemeModule, providers: [
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.2", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
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.2", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.2", ngImport: i0, type: OnemrvaThemeModule }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: OnemrvaThemeModule, providers: [
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.2", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system-theme",
3
- "version": "17.2.39",
3
+ "version": "17.2.41",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },