@onemrvapublic/design-system-theme 17.0.27 → 17.0.28
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/_chips.scss
CHANGED
|
@@ -98,6 +98,58 @@
|
|
|
98
98
|
color: µ.grayscale($theme);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
+
&.sticker {
|
|
102
|
+
height: 18px;
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
text-overflow: ellipsis;
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
display: inline-flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
cursor: default;
|
|
109
|
+
background: #ffffff !important;
|
|
110
|
+
opacity: 1;
|
|
111
|
+
border-radius: 4px;
|
|
112
|
+
padding: 4px 16px;
|
|
113
|
+
font-size: 12px;
|
|
114
|
+
font-weight: 500;
|
|
115
|
+
&.mat-primary {
|
|
116
|
+
border: 2px solid $primary;
|
|
117
|
+
color: $primary;
|
|
118
|
+
}
|
|
119
|
+
&.mat-accent {
|
|
120
|
+
$color: µ.accent($theme, "500-contrast");
|
|
121
|
+
background: $onemrva-accent-gradient-vertical !important;
|
|
122
|
+
height: 22px;
|
|
123
|
+
border: none;
|
|
124
|
+
color: $color;
|
|
125
|
+
}
|
|
126
|
+
&.mat-warn {
|
|
127
|
+
$color: µ.warn($theme, 600);
|
|
128
|
+
border: 2px solid $color;
|
|
129
|
+
color: $color;
|
|
130
|
+
}
|
|
131
|
+
&.mat-success {
|
|
132
|
+
$color: µ.success($theme);
|
|
133
|
+
border: 2px solid $color;
|
|
134
|
+
color: $color;
|
|
135
|
+
}
|
|
136
|
+
&.mat-error {
|
|
137
|
+
$color: µ.error($theme);
|
|
138
|
+
border: 2px solid $color;
|
|
139
|
+
color: $color;
|
|
140
|
+
display: inline-flex;
|
|
141
|
+
}
|
|
142
|
+
&.mat-info {
|
|
143
|
+
$color: µ.info($theme);
|
|
144
|
+
border: 2px solid $color;
|
|
145
|
+
color: $color;
|
|
146
|
+
}
|
|
147
|
+
&.mat-grayscale {
|
|
148
|
+
$color: µ.grayscale($theme);
|
|
149
|
+
border: 2px solid $color;
|
|
150
|
+
color: $color;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
101
153
|
|
|
102
154
|
.mat-mdc-chip-action {
|
|
103
155
|
padding: 0;
|
|
@@ -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.0.
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: OnemrvaThemeModule }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", 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.0.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", 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.0.
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: OnemrvaThemeModule }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", 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.0.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
providers: [
|