@onemrvapublic/design-system-theme 18.3.0-develop.1 → 18.3.0-develop.2
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/_button-toggle.scss +3 -3
- package/components/_button.scss +23 -11
- package/components/_checkbox.scss +2 -2
- package/components/_chips.scss +5 -4
- package/components/_container.scss +4 -3
- package/components/_dialogs.scss +3 -3
- package/components/_form-field.scss +31 -2
- package/components/_icon-button.scss +0 -1
- package/components/_icon.scss +0 -1
- package/components/_input.scss +0 -1
- package/components/_radio.scss +2 -2
- package/components/_sidenav.scss +2 -2
- package/components/_slide-toggle.scss +2 -2
- package/components/_slider.scss +0 -3
- package/components/_stepper.scss +1 -1
- package/components/_table.scss +3 -3
- package/components/_toolbar.scss +0 -1
- package/components/_tooltip.scss +2 -2
- package/components/_/302/265-colors.scss +4 -4
- package/fesm2022/onemrvapublic-design-system-theme.mjs +4 -4
- package/fesm2022/onemrvapublic-design-system-theme.mjs.map +1 -1
- package/package.json +1 -3
- package/utilities/_fonts.scss +2 -1
- package/utilities/_grid.scss +14 -13
- package/utilities/_media.scss +4 -3
- package/utilities/_spacing.scss +20 -15
- package/utilities/_utilities.scss +29 -27
- package/utilities/_variables.scss +53 -32
- package/esm2022/index.mjs +0 -5
- package/esm2022/lib/theme.module.mjs +0 -32
- package/esm2022/onemrvapublic-design-system-theme.mjs +0 -5
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use './µ';
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
@include mat.button-toggle-base($theme);
|
|
8
8
|
@include mat.button-toggle-theme($theme);
|
|
9
9
|
|
|
10
|
-
$spacer: map
|
|
10
|
+
$spacer: map.get($theme, 'spacer');
|
|
11
11
|
$accent400: µ.accent($theme, 400);
|
|
12
12
|
$accent500: µ.accent($theme, 500);
|
|
13
13
|
|
|
14
14
|
mat-button-toggle-group {
|
|
15
|
-
--mat-standard-button-toggle-shape: #{
|
|
15
|
+
--mat-standard-button-toggle-shape: #{variables.$onemrva-button-border-radius};
|
|
16
16
|
--mat-standard-button-toggle-divider-color: #{µ.grayscale($theme, 300)};
|
|
17
17
|
--mat-standard-button-toggle-selected-state-background-color: #{µ.primary(
|
|
18
18
|
$theme,
|
package/components/_button.scss
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use './µ';
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
@include mat.button-base($theme);
|
|
8
8
|
@include mat.button-theme($theme);
|
|
9
9
|
|
|
10
|
-
$spacer: map
|
|
10
|
+
$spacer: map.get($theme, 'spacer');
|
|
11
11
|
$accent400: µ.accent($theme, 400);
|
|
12
12
|
$accent500: µ.accent($theme, 500);
|
|
13
13
|
$accent-gradient: transparent
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
position: relative;
|
|
96
96
|
|
|
97
97
|
&:not(.mat-mdc-fab):not(.mat-mdc-mini-fab) {
|
|
98
|
-
border-radius:
|
|
98
|
+
border-radius: variables.$onemrva-button-border-radius;
|
|
99
99
|
padding: $spacer 2 * $spacer;
|
|
100
100
|
vertical-align: middle;
|
|
101
101
|
text-decoration: none;
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
&:hover:not(:disabled):not(.choice-btn) {
|
|
176
|
-
box-shadow:
|
|
176
|
+
box-shadow: variables.$box-shadow;
|
|
177
177
|
.mat-button-focus-overlay {
|
|
178
178
|
background: transparent;
|
|
179
179
|
opacity: 0;
|
|
@@ -231,49 +231,61 @@
|
|
|
231
231
|
&.mat-primary {
|
|
232
232
|
&:after {
|
|
233
233
|
outline: 5px solid
|
|
234
|
-
µ.primary(
|
|
234
|
+
µ.primary(
|
|
235
|
+
$theme,
|
|
236
|
+
default,
|
|
237
|
+
variables.$onemrva-button-outline-opacity
|
|
238
|
+
);
|
|
235
239
|
}
|
|
236
240
|
}
|
|
237
241
|
|
|
238
242
|
&.mat-accent {
|
|
239
243
|
&:after {
|
|
240
244
|
outline: 5px solid
|
|
241
|
-
µ.accent($theme, default,
|
|
245
|
+
µ.accent($theme, default, variables.$onemrva-button-outline-opacity);
|
|
242
246
|
}
|
|
243
247
|
}
|
|
244
248
|
|
|
245
249
|
&.mat-warn {
|
|
246
250
|
&:after {
|
|
247
251
|
outline: 5px solid
|
|
248
|
-
µ.warn($theme, default,
|
|
252
|
+
µ.warn($theme, default, variables.$onemrva-button-outline-opacity);
|
|
249
253
|
}
|
|
250
254
|
}
|
|
251
255
|
|
|
252
256
|
&.mat-error {
|
|
253
257
|
&:after {
|
|
254
258
|
outline: 5px solid
|
|
255
|
-
µ.error($theme, default,
|
|
259
|
+
µ.error($theme, default, variables.$onemrva-button-outline-opacity);
|
|
256
260
|
}
|
|
257
261
|
}
|
|
258
262
|
|
|
259
263
|
&.mat-success {
|
|
260
264
|
&:after {
|
|
261
265
|
outline: 5px solid
|
|
262
|
-
µ.success(
|
|
266
|
+
µ.success(
|
|
267
|
+
$theme,
|
|
268
|
+
default,
|
|
269
|
+
variables.$onemrva-button-outline-opacity
|
|
270
|
+
);
|
|
263
271
|
}
|
|
264
272
|
}
|
|
265
273
|
|
|
266
274
|
&.mat-info {
|
|
267
275
|
&:after {
|
|
268
276
|
outline: 5px solid
|
|
269
|
-
µ.info($theme, default,
|
|
277
|
+
µ.info($theme, default, variables.$onemrva-button-outline-opacity);
|
|
270
278
|
}
|
|
271
279
|
}
|
|
272
280
|
|
|
273
281
|
&.mat-grayscale {
|
|
274
282
|
&:after {
|
|
275
283
|
outline: 5px solid
|
|
276
|
-
µ.grayscale(
|
|
284
|
+
µ.grayscale(
|
|
285
|
+
$theme,
|
|
286
|
+
default,
|
|
287
|
+
variables.$onemrva-button-outline-opacity
|
|
288
|
+
);
|
|
277
289
|
}
|
|
278
290
|
}
|
|
279
291
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use './µ';
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
@include mat.checkbox-base($theme);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
.mdc-checkbox__native-control:enabled:checked,
|
|
13
13
|
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
14
14
|
~ .mdc-checkbox__background {
|
|
15
|
-
background:
|
|
15
|
+
background: variables.$onemrva-accent-gradient-vertical;
|
|
16
16
|
border: µ.accent($theme, 500);
|
|
17
17
|
}
|
|
18
18
|
}
|
package/components/_chips.scss
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use './µ';
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
$primary: µ.primary($theme);
|
|
8
|
-
$color: mat.m2-get-color-from-palette(map
|
|
8
|
+
$color: mat.m2-get-color-from-palette(map.get($theme, 'grayscale'));
|
|
9
9
|
|
|
10
10
|
@include mat.chips-base($theme);
|
|
11
11
|
@include mat.chips-theme($theme);
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
mat-chip-option
|
|
23
|
+
mat-chip-option,
|
|
24
|
+
mat-chip {
|
|
24
25
|
transition: none;
|
|
25
26
|
box-shadow: none;
|
|
26
27
|
opacity: 1;
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
|
|
62
63
|
&.mat-accent {
|
|
63
64
|
--mdc-chip-label-text-color: #{µ.accent($theme, '500-contrast')};
|
|
64
|
-
background:
|
|
65
|
+
background: variables.$onemrva-accent-gradient-vertical !important;
|
|
65
66
|
border: none !important;
|
|
66
67
|
}
|
|
67
68
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
@use '../utilities/media';
|
|
1
|
+
@use '../utilities/media' as media;
|
|
2
|
+
@use 'sass:map';
|
|
2
3
|
|
|
3
4
|
@mixin theme($theme, $breakpoints) {
|
|
4
5
|
.onemrva-layout-container {
|
|
@@ -28,14 +29,14 @@
|
|
|
28
29
|
@include media.media($breakpoints, xxlarge) {
|
|
29
30
|
margin-right: auto;
|
|
30
31
|
margin-left: auto;
|
|
31
|
-
max-width: #{map
|
|
32
|
+
max-width: #{map.get(map.get($breakpoints, xxlarge), min) - 112}px;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
//
|
|
35
36
|
// DO NOT UNCOMMENT
|
|
36
37
|
//
|
|
37
38
|
// @include media.media(xlarge) {
|
|
38
|
-
// max-width: #{map
|
|
39
|
+
// max-width: #{map.get(map.get($breakpoints, xlarge), min) - 16}px;
|
|
39
40
|
// }
|
|
40
41
|
}
|
|
41
42
|
}
|
package/components/_dialogs.scss
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@use './µ';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use '@angular/material' as mat;
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
@include mat.dialog-base($theme);
|
|
8
8
|
@include mat.dialog-theme($theme);
|
|
9
9
|
|
|
10
|
-
$spacer: map
|
|
10
|
+
$spacer: map.get($theme, 'spacer');
|
|
11
11
|
|
|
12
12
|
.mdc-dialog__title::before {
|
|
13
13
|
height: auto;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.mat-toolbar.mat-accent {
|
|
24
|
-
background:
|
|
24
|
+
background: variables.$onemrva-accent-gradient;
|
|
25
25
|
color: white;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -7,8 +7,37 @@
|
|
|
7
7
|
@include mat.form-field-theme($theme);
|
|
8
8
|
mat-form-field {
|
|
9
9
|
--mdc-outlined-text-field-focus-outline-width: 1px;
|
|
10
|
-
|
|
11
|
-
--mdc-
|
|
10
|
+
.mat-mdc-notch-piece {
|
|
11
|
+
--mat-mdc-form-field-floating-label-scale: 0.75;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mat-mdc-text-field-wrapper.mdc-text-field--outlined {
|
|
15
|
+
.mdc-notched-outline--upgraded {
|
|
16
|
+
.mdc-floating-label--float-above {
|
|
17
|
+
--mat-form-field-container-height: 44px;
|
|
18
|
+
--mat-mdc-form-field-floating-label-scale: 0.75;
|
|
19
|
+
--mat-mdc-form-field-label-transform: translateY(
|
|
20
|
+
calc(
|
|
21
|
+
calc(
|
|
22
|
+
6.75px + var(--mat-form-field-container-height, 56px) / 2
|
|
23
|
+
) *
|
|
24
|
+
-1.1
|
|
25
|
+
)
|
|
26
|
+
)
|
|
27
|
+
scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.mat-mdc-form-field-flex,
|
|
32
|
+
.mat-mdc-form-field-infix {
|
|
33
|
+
--mat-form-field-container-height: 44px;
|
|
34
|
+
}
|
|
35
|
+
.mat-mdc-text-field-wrapper {
|
|
36
|
+
.mdc-text-field--outlined {
|
|
37
|
+
.mat-mdc-form-field-infix {
|
|
38
|
+
padding: 0 0 4px 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
12
41
|
}
|
|
13
42
|
}
|
|
14
43
|
.mdc-notched-outline__notch {
|
package/components/_icon.scss
CHANGED
package/components/_input.scss
CHANGED
package/components/_radio.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use './µ';
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
@include mat.radio-base($theme);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
&.mat-accent {
|
|
20
20
|
.mat-radio-inner-circle {
|
|
21
|
-
background:
|
|
21
|
+
background: variables.$onemrva-accent-gradient-vertical;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
package/components/_sidenav.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use './µ';
|
|
3
|
-
@
|
|
3
|
+
@use '../utilities/variables' as variables;
|
|
4
4
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
6
|
mat-drawer {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.highlight-menu {
|
|
24
|
-
background:
|
|
24
|
+
background: variables.$onemrva-accent-gradient-vertical;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.sidenav-item.menu-expanded,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use './µ';
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
@include mat.slide-toggle-base($theme);
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
&.mat-accent {
|
|
18
18
|
.mdc-switch:enabled .mdc-switch__track:after {
|
|
19
|
-
background:
|
|
19
|
+
background: variables.$onemrva-accent-gradient !important;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
package/components/_slider.scss
CHANGED
package/components/_stepper.scss
CHANGED
package/components/_table.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use './µ';
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
@include mat.table-base($theme);
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
|
|
98
98
|
&:hover,
|
|
99
99
|
&:active {
|
|
100
|
-
box-shadow:
|
|
100
|
+
box-shadow: variables.$box-shadow;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
&.mat-primary {
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
&.mat-accent {
|
|
108
|
-
background:
|
|
108
|
+
background: variables.$onemrva-accent-gradient;
|
|
109
109
|
color: white;
|
|
110
110
|
}
|
|
111
111
|
|
package/components/_toolbar.scss
CHANGED
package/components/_tooltip.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
@use './µ';
|
|
4
|
-
@
|
|
4
|
+
@use '../utilities/variables' as variables;
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
7
|
@include mat.tooltip-base($theme);
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
background: #ffffff;
|
|
14
14
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
|
|
15
15
|
margin: 0 -1px -2px -2px;
|
|
16
|
-
padding:
|
|
16
|
+
padding: variables.$gap;
|
|
17
17
|
|
|
18
18
|
.mdc-tooltip__surface {
|
|
19
19
|
color: inherit;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
// SUCCESS
|
|
36
36
|
@function successPalette($theme) {
|
|
37
|
-
@return map
|
|
37
|
+
@return map.get($theme, 'success');
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@function success($theme, $hue: 600, $opacity: null) {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
// ERROR
|
|
45
45
|
@function errorPalette($theme) {
|
|
46
|
-
@return map
|
|
46
|
+
@return map.get($theme, 'error');
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
@function error($theme, $hue: default, $opacity: null) {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
// INFO
|
|
54
54
|
@function infoPalette($theme) {
|
|
55
|
-
@return map
|
|
55
|
+
@return map.get($theme, 'info');
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
@function info($theme, $hue: default, $opacity: null) {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
// GRAYSCALE
|
|
63
63
|
@function grayscalePalette($theme) {
|
|
64
|
-
@return map
|
|
64
|
+
@return map.get($theme, 'grayscale');
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
@function grayscale($theme, $hue: default, $opacity: null) {
|
|
@@ -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: "
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaThemeModule }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", 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: "
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", 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
|
|
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;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onemrvapublic/design-system-theme",
|
|
3
|
-
"version": "v18.3.0-develop.
|
|
3
|
+
"version": "v18.3.0-develop.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
".": {
|
|
12
12
|
"sass": "./index.scss",
|
|
13
13
|
"types": "./index.d.ts",
|
|
14
|
-
"esm2022": "./esm2022/onemrvapublic-design-system-theme.mjs",
|
|
15
|
-
"esm": "./esm2022/onemrvapublic-design-system-theme.mjs",
|
|
16
14
|
"default": "./fesm2022/onemrvapublic-design-system-theme.mjs"
|
|
17
15
|
},
|
|
18
16
|
"./package.json": {
|
package/utilities/_fonts.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use '../components/µ';
|
|
4
4
|
|
|
5
5
|
@mixin theme($onemrva-theme, $production: true) {
|
|
6
|
-
|
|
6
|
+
:root {
|
|
7
7
|
$normal-font-size: mat.m2-font-size(
|
|
8
8
|
map.get($onemrva-theme, 'typography'),
|
|
9
9
|
'subtitle-2'
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
--mat-form-field-container-height: 44px;
|
|
27
27
|
--mat-form-field-outlined-label-text-populated-size: 12px;
|
|
28
|
+
|
|
28
29
|
--mat-form-field-container-text-size: $normal-font-size;
|
|
29
30
|
--mat-form-field-container-text-weight: $normal-font-weight;
|
|
30
31
|
|
package/utilities/_grid.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
1
|
+
@use '../utilities/variables' as variables;
|
|
2
|
+
@use '../utilities/media' as media;
|
|
3
|
+
@use 'sass:list';
|
|
3
4
|
|
|
4
5
|
@mixin colrules($suffix: '') {
|
|
5
6
|
@for $i from 0 through 12 {
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
.col,
|
|
47
48
|
.col-auto {
|
|
48
49
|
width: auto !important;
|
|
49
|
-
flex: 1 0 0
|
|
50
|
+
flex: 1 0 0 !important;
|
|
50
51
|
}
|
|
51
52
|
.offset-auto {
|
|
52
53
|
margin-left: auto !important;
|
|
@@ -54,21 +55,21 @@
|
|
|
54
55
|
|
|
55
56
|
@include colrules();
|
|
56
57
|
|
|
57
|
-
@each $breakpoint in
|
|
58
|
-
@include media(
|
|
59
|
-
$sfx: -#{nth($breakpoint, 1)};
|
|
58
|
+
@each $breakpoint in variables.$breakpoints {
|
|
59
|
+
@include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
60
|
+
$sfx: -#{list.nth($breakpoint, 1)};
|
|
60
61
|
@include colrules($sfx);
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
|
-
@each $spacer in
|
|
65
|
-
.gx#{nth($spacer, 1)},
|
|
66
|
-
.g#{nth($spacer, 1)} {
|
|
67
|
-
--bs-gutter-x: #{nth($spacer, 2)} !important;
|
|
65
|
+
@each $spacer in variables.$spacers {
|
|
66
|
+
.gx#{list.nth($spacer, 1)},
|
|
67
|
+
.g#{list.nth($spacer, 1)} {
|
|
68
|
+
--bs-gutter-x: #{list.nth($spacer, 2)} !important;
|
|
68
69
|
}
|
|
69
|
-
.gy#{nth($spacer, 1)},
|
|
70
|
-
.g#{nth($spacer, 1)} {
|
|
71
|
-
--bs-gutter-y: #{nth($spacer, 2)} !important;
|
|
70
|
+
.gy#{list.nth($spacer, 1)},
|
|
71
|
+
.g#{list.nth($spacer, 1)} {
|
|
72
|
+
--bs-gutter-y: #{list.nth($spacer, 2)} !important;
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
}
|
package/utilities/_media.scss
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../utilities/variables' as variables;
|
|
2
|
+
@use 'sass:map';
|
|
2
3
|
|
|
3
4
|
@mixin media($breakpoints, $from, $to: false) {
|
|
4
5
|
$min: false;
|
|
5
6
|
$max: false;
|
|
6
7
|
@if $from {
|
|
7
|
-
$min: map
|
|
8
|
+
$min: map.get(map.get(variables.$breakpoints, $from), min);
|
|
8
9
|
}
|
|
9
10
|
@if $to {
|
|
10
|
-
$max: map
|
|
11
|
+
$max: map.get(map.get(variables.$breakpoints, $to), max);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
@if $min {
|
package/utilities/_spacing.scss
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
1
|
+
@use '../utilities/variables' as variables;
|
|
2
|
+
@use '../utilities/media' as media;
|
|
3
|
+
@use 'sass:map';
|
|
4
|
+
@use 'sass:list';
|
|
3
5
|
|
|
4
6
|
@mixin padmarrules($name, $selector, $suffix, $value) {
|
|
5
7
|
.#{$selector}l#{$suffix},
|
|
@@ -41,40 +43,43 @@
|
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
@mixin spacing() {
|
|
44
|
-
@each $spacer in
|
|
46
|
+
@each $spacer in variables.$spacers {
|
|
45
47
|
@include padmarrules(
|
|
46
48
|
$name: 'padding',
|
|
47
49
|
$selector: 'p',
|
|
48
|
-
$suffix: nth($spacer, 1),
|
|
49
|
-
$value: nth($spacer, 2)
|
|
50
|
+
$suffix: list.nth($spacer, 1),
|
|
51
|
+
$value: list.nth($spacer, 2)
|
|
50
52
|
);
|
|
51
53
|
@include padmarrules(
|
|
52
54
|
$name: 'margin',
|
|
53
55
|
$selector: 'm',
|
|
54
|
-
$suffix: nth($spacer, 1),
|
|
55
|
-
$value: nth($spacer, 2)
|
|
56
|
+
$suffix: list.nth($spacer, 1),
|
|
57
|
+
$value: list.nth($spacer, 2)
|
|
56
58
|
);
|
|
57
59
|
|
|
58
|
-
@include gaprules(
|
|
60
|
+
@include gaprules(
|
|
61
|
+
$suffix: list.nth($spacer, 1),
|
|
62
|
+
$value: list.nth($spacer, 2)
|
|
63
|
+
);
|
|
59
64
|
|
|
60
|
-
@each $breakpoint in
|
|
61
|
-
//@media (min-width: nth($breakpoint, 2)) {
|
|
62
|
-
@include media(
|
|
63
|
-
$sfx: #{nth($spacer, 1)}-#{nth($breakpoint, 1)};
|
|
65
|
+
@each $breakpoint in variables.$breakpoints {
|
|
66
|
+
//@media (min-width: list.nth($breakpoint, 2)) {
|
|
67
|
+
@include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
68
|
+
$sfx: #{list.nth($spacer, 1)}-#{list.nth($breakpoint, 1)};
|
|
64
69
|
@include padmarrules(
|
|
65
70
|
$name: 'padding',
|
|
66
71
|
$selector: 'p',
|
|
67
72
|
$suffix: $sfx,
|
|
68
|
-
$value: nth($spacer, 2)
|
|
73
|
+
$value: list.nth($spacer, 2)
|
|
69
74
|
);
|
|
70
75
|
@include padmarrules(
|
|
71
76
|
$name: 'margin',
|
|
72
77
|
$selector: 'm',
|
|
73
78
|
$suffix: $sfx,
|
|
74
|
-
$value: nth($spacer, 2)
|
|
79
|
+
$value: list.nth($spacer, 2)
|
|
75
80
|
);
|
|
76
81
|
|
|
77
|
-
@include gaprules($suffix: $sfx, $value: nth($spacer, 2));
|
|
82
|
+
@include gaprules($suffix: $sfx, $value: list.nth($spacer, 2));
|
|
78
83
|
}
|
|
79
84
|
}
|
|
80
85
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
1
|
+
@use '../utilities/variables' as variables;
|
|
2
|
+
@use '../utilities/media' as media;
|
|
3
|
+
@use 'sass:map';
|
|
4
|
+
@use 'sass:list';
|
|
3
5
|
|
|
4
6
|
@mixin utilities() {
|
|
5
7
|
// text
|
|
@@ -14,17 +16,17 @@
|
|
|
14
16
|
.text-start {
|
|
15
17
|
text-align: left !important;
|
|
16
18
|
}
|
|
17
|
-
@each $breakpoint in
|
|
18
|
-
@include media(
|
|
19
|
-
.text-center-#{nth($breakpoint, 1)} {
|
|
19
|
+
@each $breakpoint in variables.$breakpoints {
|
|
20
|
+
@include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
21
|
+
.text-center-#{list.nth($breakpoint, 1)} {
|
|
20
22
|
text-align: center !important;
|
|
21
23
|
}
|
|
22
|
-
.text-right-#{nth($breakpoint, 1)},
|
|
23
|
-
.text-end-#{nth($breakpoint, 1)} {
|
|
24
|
+
.text-right-#{list.nth($breakpoint, 1)},
|
|
25
|
+
.text-end-#{list.nth($breakpoint, 1)} {
|
|
24
26
|
text-align: right !important;
|
|
25
27
|
}
|
|
26
|
-
.text-left-#{nth($breakpoint, 1)},
|
|
27
|
-
.text-start-#{nth($breakpoint, 1)} {
|
|
28
|
+
.text-left-#{list.nth($breakpoint, 1)},
|
|
29
|
+
.text-start-#{list.nth($breakpoint, 1)} {
|
|
28
30
|
text-align: left !important;
|
|
29
31
|
}
|
|
30
32
|
}
|
|
@@ -83,14 +85,14 @@
|
|
|
83
85
|
.float-start {
|
|
84
86
|
float: left !important;
|
|
85
87
|
}
|
|
86
|
-
@each $breakpoint in
|
|
87
|
-
@include media(
|
|
88
|
-
.float-right-#{nth($breakpoint, 1)},
|
|
89
|
-
.float-end-#{nth($breakpoint, 1)} {
|
|
88
|
+
@each $breakpoint in variables.$breakpoints {
|
|
89
|
+
@include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
90
|
+
.float-right-#{list.nth($breakpoint, 1)},
|
|
91
|
+
.float-end-#{list.nth($breakpoint, 1)} {
|
|
90
92
|
float: right !important;
|
|
91
93
|
}
|
|
92
|
-
.float-left-#{nth($breakpoint, 1)},
|
|
93
|
-
.float-start-#{nth($breakpoint, 1)} {
|
|
94
|
+
.float-left-#{list.nth($breakpoint, 1)},
|
|
95
|
+
.float-start-#{list.nth($breakpoint, 1)} {
|
|
94
96
|
float: left !important;
|
|
95
97
|
}
|
|
96
98
|
}
|
|
@@ -128,36 +130,36 @@
|
|
|
128
130
|
display: inline-flex !important;
|
|
129
131
|
}
|
|
130
132
|
|
|
131
|
-
@each $breakpoint in
|
|
132
|
-
@include media(
|
|
133
|
-
.d-none-#{nth($breakpoint, 1)} {
|
|
133
|
+
@each $breakpoint in variables.$breakpoints {
|
|
134
|
+
@include media.media(variables.$breakpoints, list.nth($breakpoint, 1)) {
|
|
135
|
+
.d-none-#{list.nth($breakpoint, 1)} {
|
|
134
136
|
display: none !important;
|
|
135
137
|
}
|
|
136
|
-
.d-inline-#{nth($breakpoint, 1)} {
|
|
138
|
+
.d-inline-#{list.nth($breakpoint, 1)} {
|
|
137
139
|
display: inline !important;
|
|
138
140
|
}
|
|
139
|
-
.d-inline-block-#{nth($breakpoint, 1)} {
|
|
141
|
+
.d-inline-block-#{list.nth($breakpoint, 1)} {
|
|
140
142
|
display: inline-block !important;
|
|
141
143
|
}
|
|
142
|
-
.d-block-#{nth($breakpoint, 1)} {
|
|
144
|
+
.d-block-#{list.nth($breakpoint, 1)} {
|
|
143
145
|
display: block !important;
|
|
144
146
|
}
|
|
145
|
-
.d-grid-#{nth($breakpoint, 1)} {
|
|
147
|
+
.d-grid-#{list.nth($breakpoint, 1)} {
|
|
146
148
|
display: grid !important;
|
|
147
149
|
}
|
|
148
|
-
.d-table-#{nth($breakpoint, 1)} {
|
|
150
|
+
.d-table-#{list.nth($breakpoint, 1)} {
|
|
149
151
|
display: table !important;
|
|
150
152
|
}
|
|
151
|
-
.d-table-cell-#{nth($breakpoint, 1)} {
|
|
153
|
+
.d-table-cell-#{list.nth($breakpoint, 1)} {
|
|
152
154
|
display: table-cell !important;
|
|
153
155
|
}
|
|
154
|
-
.d-table-row-#{nth($breakpoint, 1)} {
|
|
156
|
+
.d-table-row-#{list.nth($breakpoint, 1)} {
|
|
155
157
|
display: table-row !important;
|
|
156
158
|
}
|
|
157
|
-
.d-flex-#{nth($breakpoint, 1)} {
|
|
159
|
+
.d-flex-#{list.nth($breakpoint, 1)} {
|
|
158
160
|
display: flex !important;
|
|
159
161
|
}
|
|
160
|
-
.d-inline-flex-#{nth($breakpoint, 1)} {
|
|
162
|
+
.d-inline-flex-#{list.nth($breakpoint, 1)} {
|
|
161
163
|
display: inline-flex !important;
|
|
162
164
|
}
|
|
163
165
|
}
|
|
@@ -54,44 +54,67 @@ $breakpoints: (
|
|
|
54
54
|
|
|
55
55
|
$onemrva-typography: mat.m2-define-typography-config(
|
|
56
56
|
$font-family: $default-font-family,
|
|
57
|
-
|
|
58
57
|
// Define h1 to h6 with mat.m2-define-typography-level(font-size, line-height, font-weight)
|
|
59
|
-
$headline-1:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
$headline-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
$headline-1: mat.m2-define-typography-level(
|
|
59
|
+
140px,
|
|
60
|
+
160px,
|
|
61
|
+
700,
|
|
62
|
+
$header-font-family
|
|
63
|
+
),
|
|
64
|
+
$headline-2: mat.m2-define-typography-level(
|
|
65
|
+
60px,
|
|
66
|
+
72px,
|
|
67
|
+
700,
|
|
68
|
+
$header-font-family
|
|
69
|
+
),
|
|
70
|
+
$headline-3: mat.m2-define-typography-level(
|
|
71
|
+
48px,
|
|
72
|
+
60px,
|
|
73
|
+
700,
|
|
74
|
+
$header-font-family
|
|
75
|
+
),
|
|
76
|
+
$headline-4: mat.m2-define-typography-level(
|
|
77
|
+
36px,
|
|
78
|
+
58px,
|
|
79
|
+
700,
|
|
80
|
+
$header-font-family
|
|
81
|
+
),
|
|
82
|
+
$headline-5: mat.m2-define-typography-level(
|
|
83
|
+
29px,
|
|
84
|
+
51px,
|
|
85
|
+
600,
|
|
86
|
+
$header-font-family
|
|
87
|
+
),
|
|
69
88
|
// H1
|
|
70
|
-
$headline-6:
|
|
71
|
-
|
|
89
|
+
$headline-6: mat.m2-define-typography-level(
|
|
90
|
+
26px,
|
|
91
|
+
46px,
|
|
92
|
+
600,
|
|
93
|
+
$header-font-family
|
|
94
|
+
),
|
|
72
95
|
// H2
|
|
73
|
-
$subtitle-1:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
// body
|
|
79
|
-
// Define body text
|
|
80
|
-
$body-1: mat.m2-define-typography-level(
|
|
81
|
-
20px,
|
|
82
|
-
35px,
|
|
83
|
-
700,
|
|
84
|
-
$default-font-family
|
|
96
|
+
$subtitle-1: mat.m2-define-typography-level(
|
|
97
|
+
23px,
|
|
98
|
+
40px,
|
|
99
|
+
600,
|
|
100
|
+
$header-font-family
|
|
85
101
|
),
|
|
86
|
-
//
|
|
87
|
-
|
|
88
|
-
$body-2: mat.m2-define-typography-level(
|
|
102
|
+
// H3
|
|
103
|
+
$subtitle-2: mat.m2-define-typography-level(
|
|
89
104
|
16px,
|
|
90
105
|
26px,
|
|
91
|
-
|
|
106
|
+
600,
|
|
92
107
|
$default-font-family
|
|
93
108
|
),
|
|
94
109
|
// body
|
|
110
|
+
// Define body text
|
|
111
|
+
$body-1:
|
|
112
|
+
mat.m2-define-typography-level(16px, 20px, 400, $default-font-family),
|
|
113
|
+
// H4
|
|
114
|
+
// Regular body text
|
|
115
|
+
$body-2:
|
|
116
|
+
mat.m2-define-typography-level(16px, 26px, 400, $default-font-family),
|
|
117
|
+
// body
|
|
95
118
|
// mat.m2-define-typography-level(18px, 32px, 600, $header-font-family), // H5 H6
|
|
96
119
|
// Secondary body text
|
|
97
120
|
// Optional: You can define other typography levels like caption, button, etc.
|
|
@@ -99,7 +122,6 @@ $onemrva-typography: mat.m2-define-typography-config(
|
|
|
99
122
|
$caption: mat.m2-define-typography-level(14px, 16px, 400),
|
|
100
123
|
$overline: mat.m2-define-typography-level(12px, 16px, 400),
|
|
101
124
|
);
|
|
102
|
-
|
|
103
125
|
//$onemrva-typography: map.merge(
|
|
104
126
|
// $onemrva-typography,
|
|
105
127
|
// (
|
|
@@ -110,7 +132,6 @@ $onemrva-typography: mat.m2-define-typography-config(
|
|
|
110
132
|
// mat-h4: mat.m2-define-typography-level(20px, 35px, 700, $header-font-family),
|
|
111
133
|
// )
|
|
112
134
|
//);
|
|
113
|
-
|
|
114
135
|
$onemrva-primary: mat.m2-define-palette(palettes.$primary-palette);
|
|
115
136
|
$onemrva-accent: mat.m2-define-palette(palettes.$accent-palette);
|
|
116
137
|
$onemrva-warn: mat.m2-define-palette(palettes.$warn-palette);
|
|
@@ -131,7 +152,7 @@ $onemrva-theme-options: (
|
|
|
131
152
|
);
|
|
132
153
|
$onemrva-theme: mat.m2-define-light-theme($onemrva-theme-options);
|
|
133
154
|
|
|
134
|
-
$onemrva-theme: map
|
|
155
|
+
$onemrva-theme: map.merge(
|
|
135
156
|
$onemrva-theme,
|
|
136
157
|
(
|
|
137
158
|
success: $onemrva-success,
|
package/esm2022/index.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of theme
|
|
3
|
-
*/
|
|
4
|
-
export * from './lib/theme.module';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9vbmVtcnZhL3RoZW1lL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIHRoZW1lXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvdGhlbWUubW9kdWxlJztcbiJdfQ==
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { MAT_FORM_FIELD_DEFAULT_OPTIONS, } from '@angular/material/form-field';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class OnemrvaThemeModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: OnemrvaThemeModule }); }
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OnemrvaThemeModule, providers: [
|
|
8
|
-
{
|
|
9
|
-
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
10
|
-
useValue: {
|
|
11
|
-
appearance: 'outline',
|
|
12
|
-
floatLabel: 'always',
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
] }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
|
|
18
|
-
type: NgModule,
|
|
19
|
-
args: [{
|
|
20
|
-
providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
23
|
-
useValue: {
|
|
24
|
-
appearance: 'outline',
|
|
25
|
-
floatLabel: 'always',
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
imports: [],
|
|
30
|
-
}]
|
|
31
|
-
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvb25lbXJ2YS90aGVtZS9zcmMvbGliL3RoZW1lLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFFTCw4QkFBOEIsR0FDL0IsTUFBTSw4QkFBOEIsQ0FBQzs7QUFjdEMsTUFBTSxPQUFPLGtCQUFrQjsrR0FBbEIsa0JBQWtCO2dIQUFsQixrQkFBa0I7Z0hBQWxCLGtCQUFrQixhQVhsQjtZQUNUO2dCQUNFLE9BQU8sRUFBRSw4QkFBOEI7Z0JBQ3ZDLFFBQVEsRUFBRTtvQkFDUixVQUFVLEVBQUUsU0FBUztvQkFDckIsVUFBVSxFQUFFLFFBQVE7aUJBQ1M7YUFDaEM7U0FDRjs7NEZBR1Usa0JBQWtCO2tCQVo5QixRQUFRO21CQUFDO29CQUNSLFNBQVMsRUFBRTt3QkFDVDs0QkFDRSxPQUFPLEVBQUUsOEJBQThCOzRCQUN2QyxRQUFRLEVBQUU7Z0NBQ1IsVUFBVSxFQUFFLFNBQVM7Z0NBQ3JCLFVBQVUsRUFBRSxRQUFROzZCQUNTO3lCQUNoQztxQkFDRjtvQkFDRCxPQUFPLEVBQUUsRUFBRTtpQkFDWiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge1xuICBNYXRGb3JtRmllbGREZWZhdWx0T3B0aW9ucyxcbiAgTUFUX0ZPUk1fRklFTERfREVGQVVMVF9PUFRJT05TLFxufSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9mb3JtLWZpZWxkJztcblxuQE5nTW9kdWxlKHtcbiAgcHJvdmlkZXJzOiBbXG4gICAge1xuICAgICAgcHJvdmlkZTogTUFUX0ZPUk1fRklFTERfREVGQVVMVF9PUFRJT05TLFxuICAgICAgdXNlVmFsdWU6IHtcbiAgICAgICAgYXBwZWFyYW5jZTogJ291dGxpbmUnLFxuICAgICAgICBmbG9hdExhYmVsOiAnYWx3YXlzJyxcbiAgICAgIH0gYXMgTWF0Rm9ybUZpZWxkRGVmYXVsdE9wdGlvbnMsXG4gICAgfSxcbiAgXSxcbiAgaW1wb3J0czogW10sXG59KVxuZXhwb3J0IGNsYXNzIE9uZW1ydmFUaGVtZU1vZHVsZSB7fVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib25lbXJ2YXB1YmxpYy1kZXNpZ24tc3lzdGVtLXRoZW1lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvb25lbXJ2YS90aGVtZS9zcmMvb25lbXJ2YXB1YmxpYy1kZXNpZ24tc3lzdGVtLXRoZW1lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|