@onemrvapublic/design-system 20.3.0-develop.6 → 20.3.0-develop.7
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/fesm2022/onemrvapublic-design-system-layout.mjs +1 -1
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +31 -2
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system.mjs +32 -3
- package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
- package/index.d.ts +15 -1
- package/mat-avatar/index.d.ts +15 -1
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -330,6 +330,7 @@ declare class FlagIconComponent {
|
|
|
330
330
|
|
|
331
331
|
declare const MatAvatarType: {
|
|
332
332
|
INITIALS: "initials";
|
|
333
|
+
TEXT: "text";
|
|
333
334
|
IMAGE: "image";
|
|
334
335
|
ICON: "icon";
|
|
335
336
|
CUSTOM: "custom";
|
|
@@ -426,6 +427,15 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
|
|
|
426
427
|
* ```
|
|
427
428
|
*/
|
|
428
429
|
initials: string;
|
|
430
|
+
/**
|
|
431
|
+
* Sets text to the avatar.
|
|
432
|
+
*
|
|
433
|
+
* @example
|
|
434
|
+
* ```html
|
|
435
|
+
* <onemrva-mat-avatar text="100%"></onemrva-mat-avatar>
|
|
436
|
+
* ```
|
|
437
|
+
*/
|
|
438
|
+
text: string;
|
|
429
439
|
/**
|
|
430
440
|
* Sets an icon to the avatar. All icons from the material icon set are supported.
|
|
431
441
|
*
|
|
@@ -452,6 +462,8 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
|
|
|
452
462
|
/** @hidden @internal */
|
|
453
463
|
protected initialsTemplate: TemplateRef<any> | null;
|
|
454
464
|
/** @hidden @internal */
|
|
465
|
+
protected textTemplate: TemplateRef<any> | null;
|
|
466
|
+
/** @hidden @internal */
|
|
455
467
|
protected iconTemplate: TemplateRef<any> | null;
|
|
456
468
|
/**
|
|
457
469
|
* Returns the type of the avatar.
|
|
@@ -468,6 +480,8 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
|
|
|
468
480
|
get _isIconType(): boolean;
|
|
469
481
|
/** @hidden @internal */
|
|
470
482
|
get _isInitialsType(): boolean;
|
|
483
|
+
/** @hidden @internal */
|
|
484
|
+
get _isTextType(): boolean;
|
|
471
485
|
/**
|
|
472
486
|
* Returns the template of the avatar.
|
|
473
487
|
*
|
|
@@ -488,7 +502,7 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
|
|
|
488
502
|
/** @hidden @internal */
|
|
489
503
|
private getRole;
|
|
490
504
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatAvatarComponent, never>;
|
|
491
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatAvatarComponent, "onemrva-mat-avatar", never, { "id": { "alias": "id"; "required": false; }; "roundShape": { "alias": "roundShape"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
505
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatAvatarComponent, "onemrva-mat-avatar", never, { "id": { "alias": "id"; "required": false; }; "roundShape": { "alias": "roundShape"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
492
506
|
}
|
|
493
507
|
|
|
494
508
|
declare class OnemrvaMatAvatarModule {
|
package/mat-avatar/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { OnInit, TemplateRef, ElementRef } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
declare const MatAvatarType: {
|
|
5
5
|
INITIALS: "initials";
|
|
6
|
+
TEXT: "text";
|
|
6
7
|
IMAGE: "image";
|
|
7
8
|
ICON: "icon";
|
|
8
9
|
CUSTOM: "custom";
|
|
@@ -99,6 +100,15 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
|
|
|
99
100
|
* ```
|
|
100
101
|
*/
|
|
101
102
|
initials: string;
|
|
103
|
+
/**
|
|
104
|
+
* Sets text to the avatar.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```html
|
|
108
|
+
* <onemrva-mat-avatar text="100%"></onemrva-mat-avatar>
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
text: string;
|
|
102
112
|
/**
|
|
103
113
|
* Sets an icon to the avatar. All icons from the material icon set are supported.
|
|
104
114
|
*
|
|
@@ -125,6 +135,8 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
|
|
|
125
135
|
/** @hidden @internal */
|
|
126
136
|
protected initialsTemplate: TemplateRef<any> | null;
|
|
127
137
|
/** @hidden @internal */
|
|
138
|
+
protected textTemplate: TemplateRef<any> | null;
|
|
139
|
+
/** @hidden @internal */
|
|
128
140
|
protected iconTemplate: TemplateRef<any> | null;
|
|
129
141
|
/**
|
|
130
142
|
* Returns the type of the avatar.
|
|
@@ -141,6 +153,8 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
|
|
|
141
153
|
get _isIconType(): boolean;
|
|
142
154
|
/** @hidden @internal */
|
|
143
155
|
get _isInitialsType(): boolean;
|
|
156
|
+
/** @hidden @internal */
|
|
157
|
+
get _isTextType(): boolean;
|
|
144
158
|
/**
|
|
145
159
|
* Returns the template of the avatar.
|
|
146
160
|
*
|
|
@@ -161,7 +175,7 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
|
|
|
161
175
|
/** @hidden @internal */
|
|
162
176
|
private getRole;
|
|
163
177
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatAvatarComponent, never>;
|
|
164
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatAvatarComponent, "onemrva-mat-avatar", never, { "id": { "alias": "id"; "required": false; }; "roundShape": { "alias": "roundShape"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatAvatarComponent, "onemrva-mat-avatar", never, { "id": { "alias": "id"; "required": false; }; "roundShape": { "alias": "roundShape"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
165
179
|
}
|
|
166
180
|
|
|
167
181
|
declare class OnemrvaMatAvatarModule {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onemrvapublic/design-system",
|
|
3
|
-
"version": "20.3.0-develop.
|
|
3
|
+
"version": "20.3.0-develop.7",
|
|
4
4
|
"description": "Design System Onem/Rva without theme included",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"types": "./flag-icon/index.d.ts",
|
|
45
45
|
"default": "./fesm2022/onemrvapublic-design-system-flag-icon.mjs"
|
|
46
46
|
},
|
|
47
|
-
"./mat-avatar": {
|
|
48
|
-
"types": "./mat-avatar/index.d.ts",
|
|
49
|
-
"default": "./fesm2022/onemrvapublic-design-system-mat-avatar.mjs"
|
|
50
|
-
},
|
|
51
47
|
"./layout": {
|
|
52
48
|
"types": "./layout/index.d.ts",
|
|
53
49
|
"default": "./fesm2022/onemrvapublic-design-system-layout.mjs"
|
|
54
50
|
},
|
|
51
|
+
"./mat-avatar": {
|
|
52
|
+
"types": "./mat-avatar/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/onemrvapublic-design-system-mat-avatar.mjs"
|
|
54
|
+
},
|
|
55
55
|
"./mat-address": {
|
|
56
56
|
"types": "./mat-address/index.d.ts",
|
|
57
57
|
"default": "./fesm2022/onemrvapublic-design-system-mat-address.mjs"
|
|
@@ -96,6 +96,10 @@
|
|
|
96
96
|
"types": "./mat-input-birthplace/index.d.ts",
|
|
97
97
|
"default": "./fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs"
|
|
98
98
|
},
|
|
99
|
+
"./mat-input-country": {
|
|
100
|
+
"types": "./mat-input-country/index.d.ts",
|
|
101
|
+
"default": "./fesm2022/onemrvapublic-design-system-mat-input-country.mjs"
|
|
102
|
+
},
|
|
99
103
|
"./mat-input-enterprise-number": {
|
|
100
104
|
"types": "./mat-input-enterprise-number/index.d.ts",
|
|
101
105
|
"default": "./fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs"
|
|
@@ -132,10 +136,6 @@
|
|
|
132
136
|
"types": "./mat-panel/index.d.ts",
|
|
133
137
|
"default": "./fesm2022/onemrvapublic-design-system-mat-panel.mjs"
|
|
134
138
|
},
|
|
135
|
-
"./mat-input-country": {
|
|
136
|
-
"types": "./mat-input-country/index.d.ts",
|
|
137
|
-
"default": "./fesm2022/onemrvapublic-design-system-mat-input-country.mjs"
|
|
138
|
-
},
|
|
139
139
|
"./mat-pop-over": {
|
|
140
140
|
"types": "./mat-pop-over/index.d.ts",
|
|
141
141
|
"default": "./fesm2022/onemrvapublic-design-system-mat-pop-over.mjs"
|