@onemrvapublic/design-system 16.2.39 → 16.2.43

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.
@@ -0,0 +1,65 @@
1
+ @use '../../utils' as utils;
2
+
3
+ @mixin sticker($theme) {
4
+ onemrva-mat-sticker {
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ white-space: nowrap;
8
+ display: inline-flex;
9
+ align-items: center;
10
+ cursor: default;
11
+ background: #ffffff !important;
12
+ opacity: 1;
13
+ border-radius: 4px;
14
+ padding: 2px 8px;
15
+
16
+ font-family: utils.fontFamily($theme, 'headline-1');
17
+ font-size: 12px;
18
+ font-weight: 600;
19
+ box-sizing: border-box;
20
+ line-height: 21px;
21
+
22
+ &.mat-primary {
23
+ $color: utils.palette($theme, 'primary');
24
+ border: 2px solid $color;
25
+ color: $color;
26
+ }
27
+
28
+ &.mat-success {
29
+ $color: utils.palette($theme, 'success', 600);
30
+ border: 2px solid $color;
31
+ color: $color;
32
+ }
33
+
34
+ &.mat-warn {
35
+ $color: utils.palette($theme, 'warn', 600);
36
+ border: 2px solid $color;
37
+ color: $color;
38
+ }
39
+
40
+ &.mat-info {
41
+ $color: utils.palette($theme, 'info');
42
+ border: 2px solid $color;
43
+ color: $color;
44
+ }
45
+
46
+ &.mat-grayscale {
47
+ $color: utils.palette($theme, 'grayscale');
48
+ border: 2px solid $color;
49
+ color: $color;
50
+ }
51
+
52
+ &.mat-error {
53
+ $color: utils.palette($theme, 'error');
54
+ border: 2px solid $color;
55
+ color: $color;
56
+ }
57
+
58
+ &.mat-accent {
59
+ $color: utils.palette($theme, 'primary', '500-contrast');
60
+ background: utils.gradient($theme) !important;
61
+ border: none;
62
+ color: $color;
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./onemrva-mat-sticker.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class OnemrvaMatStickerModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatStickerModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaMatStickerModule, [typeof i1.OnemrvaMatStickerComponent], [typeof i2.CommonModule], [typeof i1.OnemrvaMatStickerComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaMatStickerModule>;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system",
3
- "version": "16.2.39",
3
+ "version": "16.2.43",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -181,6 +181,12 @@
181
181
  "esm": "./esm2022/mat-stepper/onemrvapublic-design-system-mat-stepper.mjs",
182
182
  "default": "./fesm2022/onemrvapublic-design-system-mat-stepper.mjs"
183
183
  },
184
+ "./mat-sticker": {
185
+ "types": "./mat-sticker/index.d.ts",
186
+ "esm2022": "./esm2022/mat-sticker/onemrvapublic-design-system-mat-sticker.mjs",
187
+ "esm": "./esm2022/mat-sticker/onemrvapublic-design-system-mat-sticker.mjs",
188
+ "default": "./fesm2022/onemrvapublic-design-system-mat-sticker.mjs"
189
+ },
184
190
  "./mat-table-of-content": {
185
191
  "types": "./mat-table-of-content/index.d.ts",
186
192
  "esm2022": "./esm2022/mat-table-of-content/onemrvapublic-design-system-mat-table-of-content.mjs",
@@ -1,5 +1,8 @@
1
1
  import { ValidatorFn } from '@angular/forms';
2
2
  export declare class OnemrvaValidators {
3
+ private static bceValidator;
3
4
  static bce(required?: boolean): ValidatorFn;
5
+ private static nissValidator;
4
6
  static niss(required?: boolean): ValidatorFn;
7
+ static nissOrBce(required?: boolean): ValidatorFn;
5
8
  }