@onemrvapublic/design-system-theme 19.2.0-develop.16 → 19.2.0-develop.18

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.
@@ -24,7 +24,7 @@
24
24
  cursor: inherit !important;
25
25
  }
26
26
  }
27
- .cdk-drag:not(.mat-mdc-chip) {
27
+ .cdk-drag:not(.mat-mdc-chip):not(tr):not(mat-row) {
28
28
  // transition: transform 100ms cubic-bezier(0, 0, 0.2, 1);
29
29
  position: relative;
30
30
  display: flex;
@@ -53,6 +53,20 @@
53
53
  }
54
54
  }
55
55
 
56
+ tr,
57
+ mat-row {
58
+ &.cdk-drag-preview {
59
+ display: flex;
60
+ justify-content: space-between;
61
+ align-items: center;
62
+ width: 100%;
63
+ overflow: hidden;
64
+ border-radius: 10px;
65
+ }
66
+ &.cdk-drag-placeholder {
67
+ opacity: 0.2;
68
+ }
69
+ }
56
70
  //
57
71
 
58
72
  //
@@ -9,45 +9,50 @@
9
9
 
10
10
  .mat-mdc-table {
11
11
  &:not(.mat-card-table) {
12
- tbody {
13
- tr {
14
- &:nth-child(odd) {
15
- background-color: µ.primary($theme, 50);
16
- a {
17
- color: µ.primary($theme, 700);
18
- }
12
+ tbody tr,
13
+ mat-row {
14
+ &:nth-child(odd) {
15
+ background-color: µ.primary($theme, 50);
16
+ a {
17
+ color: µ.primary($theme, 700);
19
18
  }
20
19
  }
21
20
  }
22
21
  }
23
- tr.onemrva-notice-row {
24
- background: µ.grayscale($theme, 50);
25
- font-size: 14px;
22
+ tr,
23
+ mat-row {
24
+ &.onemrva-notice-row {
25
+ background: µ.grayscale($theme, 50);
26
+ font-size: 14px;
27
+ }
26
28
  &.hidden {
27
29
  display: none;
28
30
  }
29
31
  }
30
- th.cdk-column-check {
31
- width: 50px;
32
- .mat-mdc-checkbox {
33
- .mdc-checkbox {
34
- padding: 6px;
32
+ th,
33
+ mat-header-row {
34
+ &.cdk-column-check {
35
+ width: 50px;
36
+ .mat-mdc-checkbox {
37
+ .mdc-checkbox {
38
+ padding: 6px;
39
+ }
35
40
  }
36
41
  }
37
- }
38
- th.mat-mdc-header-cell {
39
- font-weight: 600;
40
- border-bottom: 2px solid µ.grayscale($theme, 200);
41
- color: µ.grayscale($theme, 700);
42
- font-family: mat.get-theme-typography(
43
- $theme,
44
- 'headline-1',
45
- 'font-family'
46
- );
47
- font-style: normal;
48
- line-height: 16px; /* 162.5% */
49
- vertical-align: bottom;
50
- padding-bottom: 16px;
42
+ &.mat-mdc-header-cell {
43
+ font-weight: 600;
44
+ border-bottom: 2px solid µ.grayscale($theme, 200);
45
+ color: µ.grayscale($theme, 700);
46
+ font-family: mat.get-theme-typography(
47
+ $theme,
48
+ 'headline-1',
49
+ 'font-family'
50
+ );
51
+ font-style: normal;
52
+ line-height: 16px; /* 162.5% */
53
+ vertical-align: bottom;
54
+ padding-bottom: 16px;
55
+ }
51
56
  }
52
57
 
53
58
  .mat-mdc-row {
@@ -71,26 +76,32 @@
71
76
  }
72
77
 
73
78
  tr {
74
- transition: background-color 400ms ease-out;
75
79
  padding: 16px;
80
+ }
81
+ tr,
82
+ mat-row {
83
+ transition: background-color 400ms ease-out;
76
84
  line-height: 23px;
77
85
  --mat-expansion-container-background-color: transparent;
78
86
 
79
- td.mat-mdc-cell {
80
- line-height: 22px;
81
- padding-top: 8px;
82
- padding-bottom: 8px;
83
- border-bottom: 1px solid µ.primary($theme, 100);
84
- &:not(:last-child) {
85
- padding-right: 12px;
86
- }
87
- mat-error {
88
- line-height: 48px;
89
- color: µ.error($theme, 500);
90
- mat-icon {
91
- float: left;
92
- margin-top: 12px;
87
+ td,
88
+ mat-cell {
89
+ &.mat-mdc-cell {
90
+ line-height: 22px;
91
+ padding-top: 8px;
92
+ padding-bottom: 8px;
93
+ border-bottom: 1px solid µ.primary($theme, 100);
94
+ &:not(:last-child) {
95
+ padding-right: 12px;
96
+ }
97
+ mat-error {
98
+ line-height: 48px;
93
99
  color: µ.error($theme, 500);
100
+ mat-icon {
101
+ float: left;
102
+ margin-top: 12px;
103
+ color: µ.error($theme, 500);
104
+ }
94
105
  }
95
106
  }
96
107
  }
@@ -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: "19.2.4", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaThemeModule }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OnemrvaThemeModule, providers: [
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaThemeModule }); }
8
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", 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: "19.2.4", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  providers: [
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-theme.mjs","sources":["../../../../projects/onemrva/theme/src/lib/theme.module.ts","../../../../projects/onemrva/theme/src/index.ts","../../../../projects/onemrva/theme/src/onemrvapublic-design-system-theme.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport {\n MatFormFieldDefaultOptions,\n MAT_FORM_FIELD_DEFAULT_OPTIONS,\n} from '@angular/material/form-field';\n\n@NgModule({\n providers: [\n {\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\n useValue: {\n appearance: 'outline',\n floatLabel: 'always',\n } as MatFormFieldDefaultOptions,\n },\n ],\n imports: [],\n})\nexport class OnemrvaThemeModule {}\n","/*\n * Public API Surface of theme\n */\n\nexport * from './lib/theme.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAkBa,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAlB,kBAAkB,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAXlB,SAAA,EAAA;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,8BAA8B;AACvC,gBAAA,QAAQ,EAAE;AACR,oBAAA,UAAU,EAAE,SAAS;AACrB,oBAAA,UAAU,EAAE,QAAQ;AACS,iBAAA;AAChC,aAAA;AACF,SAAA,EAAA,CAAA,CAAA;;2FAGU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,8BAA8B;AACvC,4BAAA,QAAQ,EAAE;AACR,gCAAA,UAAU,EAAE,SAAS;AACrB,gCAAA,UAAU,EAAE,QAAQ;AACS,6BAAA;AAChC,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;;;ACjBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-theme.mjs","sources":["../../../../projects/onemrva/theme/src/lib/theme.module.ts","../../../../projects/onemrva/theme/src/index.ts","../../../../projects/onemrva/theme/src/onemrvapublic-design-system-theme.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport {\n MatFormFieldDefaultOptions,\n MAT_FORM_FIELD_DEFAULT_OPTIONS,\n} from '@angular/material/form-field';\n\n@NgModule({\n providers: [\n {\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\n useValue: {\n appearance: 'outline',\n floatLabel: 'always',\n } as MatFormFieldDefaultOptions,\n },\n ],\n imports: [],\n})\nexport class OnemrvaThemeModule {}\n","/*\n * Public API Surface of theme\n */\n\nexport * from './lib/theme.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAkBa,kBAAkB,CAAA;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAlB,kBAAkB,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAXlB,SAAA,EAAA;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,8BAA8B;AACvC,gBAAA,QAAQ,EAAE;AACR,oBAAA,UAAU,EAAE,SAAS;AACrB,oBAAA,UAAU,EAAE,QAAQ;AACS,iBAAA;AAChC,aAAA;AACF,SAAA,EAAA,CAAA,CAAA;;4FAGU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,8BAA8B;AACvC,4BAAA,QAAQ,EAAE;AACR,gCAAA,UAAU,EAAE,SAAS;AACrB,gCAAA,UAAU,EAAE,QAAQ;AACS,6BAAA;AAChC,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;;;ACjBD;;AAEG;;ACFH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system-theme",
3
- "version": "v19.2.0-develop.16",
3
+ "version": "v19.2.0-develop.18",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },