@onemrvapublic/design-system 20.0.0-develop.9 → 20.1.0-develop.1

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/index.d.ts CHANGED
@@ -23,10 +23,10 @@ import * as i24 from '@angular/material/tooltip';
23
23
  import { MatTooltip, TooltipPosition } from '@angular/material/tooltip';
24
24
  import * as i26 from '@angular/material/core';
25
25
  import { MatOption, ThemePalette, ErrorStateMatcher, MatDateFormats, NativeDateAdapter, DateAdapter } from '@angular/material/core';
26
- import { OnemrvaMatSize, OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
27
26
  import { AnimationBuilder, AnimationFactory } from '@angular/animations';
28
27
  import { MatFormFieldControl, MatFormField } from '@angular/material/form-field';
29
28
  import { MatCalendar } from '@angular/material/datepicker';
29
+ import { OnemrvaMatColor, OnemrvaMatSize } from '@onemrvapublic/design-system/utils';
30
30
  import * as i8 from '@angular/material/dialog';
31
31
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
32
32
  import { OnemRvaCDNMimeService as OnemRvaCDNMimeService$1, OSMResult as OSMResult$1, OnemRvaCommonCountry as OnemRvaCommonCountry$1, OnemrvaMaterialCountry as OnemrvaMaterialCountry$1 } from '@onemrvapublic/design-system/shared';
@@ -411,80 +411,6 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
411
411
  protected initialsTemplate: TemplateRef<any> | null;
412
412
  /** @hidden @internal */
413
413
  protected iconTemplate: TemplateRef<any> | null;
414
- /**
415
- * @hidden
416
- * @internal
417
- */
418
- private _size;
419
- /**
420
- * Returns the size of the avatar.
421
- *
422
- * @example
423
- * ```typescript
424
- * let avatarSize = this.avatar.size;
425
- * ```
426
- */
427
- get size(): OnemrvaMatSize;
428
- /**
429
- * Sets the size of the avatar.
430
- * By default, the size is `"small"`. It can be set to `"medium"` or `"large"`.
431
- *
432
- * @example
433
- * ```html
434
- * <onemrva-mat-avatar size="large"></onemrva-mat-avatar>
435
- * ```
436
- */
437
- set size(value: string | OnemrvaMatSize);
438
- /** @hidden @internal */
439
- get _isXSmallSize(): boolean;
440
- /** @hidden @internal */
441
- get _isSmallSize(): boolean;
442
- /** @hidden @internal */
443
- get _isMediumSize(): boolean;
444
- /** @hidden @internal */
445
- get _isLargeSize(): boolean;
446
- /** @hidden @internal */
447
- get _isXLargeSize(): boolean;
448
- /**
449
- * @hidden
450
- * @internal
451
- */
452
- private _color;
453
- /** @hidden @internal */
454
- get _colorAccent(): boolean;
455
- /**
456
- * Returns the size of the avatar.
457
- *
458
- * @example
459
- * ```typescript
460
- * let avatarSize = this.avatar.size;
461
- * ```
462
- */
463
- get color(): OnemrvaMatColor;
464
- /**
465
- * Sets the size of the avatar.
466
- * By default, the size is `"small"`. It can be set to `"medium"` or `"large"`.
467
- *
468
- * @example
469
- * ```html
470
- * <onemrva-mat-avatar size="large"></onemrva-mat-avatar>
471
- * ```
472
- */
473
- set color(value: OnemrvaMatColor);
474
- /** @hidden @internal */
475
- get _isPrimary(): boolean;
476
- /** @hidden @internal */
477
- get _isAccent(): boolean;
478
- /** @hidden @internal */
479
- get _isError(): boolean;
480
- /** @hidden @internal */
481
- get _isWarn(): boolean;
482
- /** @hidden @internal */
483
- get _isSuccess(): boolean;
484
- /** @hidden @internal */
485
- get _isInfo(): boolean;
486
- /** @hidden @internal */
487
- get _isGrayscale(): boolean;
488
414
  /**
489
415
  * Returns the type of the avatar.
490
416
  *
@@ -520,7 +446,7 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
520
446
  /** @hidden @internal */
521
447
  private getRole;
522
448
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatAvatarComponent, never>;
523
- 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; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
449
+ 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>;
524
450
  }
525
451
 
526
452
  declare class OnemrvaMatAvatarModule {
@@ -1025,14 +951,12 @@ declare class OnemrvaMatInputAddressComponent implements OnInit {
1025
951
  }
1026
952
 
1027
953
  declare class OnemRvaAddress implements OnInit {
1028
- INSMode?: boolean;
1029
954
  update: EventEmitter<{
1030
955
  country?: string;
1031
956
  street?: string;
1032
957
  postal_code?: string;
1033
958
  city?: string;
1034
959
  street_number?: string;
1035
- nis?: string;
1036
960
  }>;
1037
961
  countryForm: FormControl<string | null>;
1038
962
  addressControl: FormControl<string | null>;
@@ -1040,11 +964,10 @@ declare class OnemRvaAddress implements OnInit {
1040
964
  cityControl: FormControl<string | null>;
1041
965
  boiteControl: FormControl<string | null>;
1042
966
  numeroControl: FormControl<string | null>;
1043
- NISControl: FormControl<string | null>;
1044
967
  ngOnInit(): void;
1045
968
  onAddressSelected(result: OSMResult$1): void;
1046
969
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaAddress, never>;
1047
- static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, { "INSMode": { "alias": "INSMode"; "required": false; }; }, { "update": "update"; }, never, never, true, never>;
970
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, {}, { "update": "update"; }, never, never, true, never>;
1048
971
  }
1049
972
 
1050
973
  declare class OnemrvaMatInputBirthPlaceComponent implements OnInit, OnDestroy {
@@ -2780,7 +2703,7 @@ declare class OnemRvaSizeDirective {
2780
2703
  /** @hidden @internal */
2781
2704
  get _isXXLarge(): boolean;
2782
2705
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaSizeDirective, never>;
2783
- static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaSizeDirective, "mat-icon[size], onemrva-mat-skeleton[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
2706
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaSizeDirective, "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
2784
2707
  }
2785
2708
 
2786
2709
  declare const directives: any[];
@@ -4,14 +4,12 @@ import { FormControl } from '@angular/forms';
4
4
  import { OSMResult } from '@onemrvapublic/design-system/shared';
5
5
 
6
6
  declare class OnemRvaAddress implements OnInit {
7
- INSMode?: boolean;
8
7
  update: EventEmitter<{
9
8
  country?: string;
10
9
  street?: string;
11
10
  postal_code?: string;
12
11
  city?: string;
13
12
  street_number?: string;
14
- nis?: string;
15
13
  }>;
16
14
  countryForm: FormControl<string | null>;
17
15
  addressControl: FormControl<string | null>;
@@ -19,11 +17,10 @@ declare class OnemRvaAddress implements OnInit {
19
17
  cityControl: FormControl<string | null>;
20
18
  boiteControl: FormControl<string | null>;
21
19
  numeroControl: FormControl<string | null>;
22
- NISControl: FormControl<string | null>;
23
20
  ngOnInit(): void;
24
21
  onAddressSelected(result: OSMResult): void;
25
22
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaAddress, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, { "INSMode": { "alias": "INSMode"; "required": false; }; }, { "update": "update"; }, never, never, true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, {}, { "update": "update"; }, never, never, true, never>;
27
24
  }
28
25
 
29
26
  export { OnemRvaAddress };
@@ -1,6 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, TemplateRef, ElementRef } from '@angular/core';
3
- import { OnemrvaMatSize, OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
4
3
 
5
4
  declare const MatAvatarType: {
6
5
  INITIALS: "initials";
@@ -127,80 +126,6 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
127
126
  protected initialsTemplate: TemplateRef<any> | null;
128
127
  /** @hidden @internal */
129
128
  protected iconTemplate: TemplateRef<any> | null;
130
- /**
131
- * @hidden
132
- * @internal
133
- */
134
- private _size;
135
- /**
136
- * Returns the size of the avatar.
137
- *
138
- * @example
139
- * ```typescript
140
- * let avatarSize = this.avatar.size;
141
- * ```
142
- */
143
- get size(): OnemrvaMatSize;
144
- /**
145
- * Sets the size of the avatar.
146
- * By default, the size is `"small"`. It can be set to `"medium"` or `"large"`.
147
- *
148
- * @example
149
- * ```html
150
- * <onemrva-mat-avatar size="large"></onemrva-mat-avatar>
151
- * ```
152
- */
153
- set size(value: string | OnemrvaMatSize);
154
- /** @hidden @internal */
155
- get _isXSmallSize(): boolean;
156
- /** @hidden @internal */
157
- get _isSmallSize(): boolean;
158
- /** @hidden @internal */
159
- get _isMediumSize(): boolean;
160
- /** @hidden @internal */
161
- get _isLargeSize(): boolean;
162
- /** @hidden @internal */
163
- get _isXLargeSize(): boolean;
164
- /**
165
- * @hidden
166
- * @internal
167
- */
168
- private _color;
169
- /** @hidden @internal */
170
- get _colorAccent(): boolean;
171
- /**
172
- * Returns the size of the avatar.
173
- *
174
- * @example
175
- * ```typescript
176
- * let avatarSize = this.avatar.size;
177
- * ```
178
- */
179
- get color(): OnemrvaMatColor;
180
- /**
181
- * Sets the size of the avatar.
182
- * By default, the size is `"small"`. It can be set to `"medium"` or `"large"`.
183
- *
184
- * @example
185
- * ```html
186
- * <onemrva-mat-avatar size="large"></onemrva-mat-avatar>
187
- * ```
188
- */
189
- set color(value: OnemrvaMatColor);
190
- /** @hidden @internal */
191
- get _isPrimary(): boolean;
192
- /** @hidden @internal */
193
- get _isAccent(): boolean;
194
- /** @hidden @internal */
195
- get _isError(): boolean;
196
- /** @hidden @internal */
197
- get _isWarn(): boolean;
198
- /** @hidden @internal */
199
- get _isSuccess(): boolean;
200
- /** @hidden @internal */
201
- get _isInfo(): boolean;
202
- /** @hidden @internal */
203
- get _isGrayscale(): boolean;
204
129
  /**
205
130
  * Returns the type of the avatar.
206
131
  *
@@ -236,7 +161,7 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
236
161
  /** @hidden @internal */
237
162
  private getRole;
238
163
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatAvatarComponent, never>;
239
- 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; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, 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>;
240
165
  }
241
166
 
242
167
  declare class OnemrvaMatAvatarModule {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system",
3
- "version": "20.0.0-develop.9",
3
+ "version": "20.1.0-develop.1",
4
4
  "description": "Design System Onem/Rva without theme included",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -17,22 +17,7 @@
17
17
  display: block;
18
18
  height: auto;
19
19
  h1 {
20
- font-size: 70px;
21
- font-style: normal;
22
- font-weight: 700;
23
- line-height: 105px; /* 150% */
24
- }
25
- h2 {
26
- font-size: 23px;
27
- font-style: normal;
28
- font-weight: 600;
29
- line-height: 40px;
30
- }
31
- p {
32
- font-size: 16px;
33
- font-style: normal;
34
- font-weight: 400;
35
- line-height: 26px; /* 162.5% */
20
+ font: var(--mat-sys-display-medium);
36
21
  }
37
22
  }
38
23
  }
package/shared/index.d.ts CHANGED
@@ -220,7 +220,7 @@ declare class OnemRvaSizeDirective {
220
220
  /** @hidden @internal */
221
221
  get _isXXLarge(): boolean;
222
222
  static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaSizeDirective, never>;
223
- static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaSizeDirective, "mat-icon[size], onemrva-mat-skeleton[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
223
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaSizeDirective, "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
224
224
  }
225
225
 
226
226
  declare const directives: any[];