matcha-components 20.5.0 → 20.12.0

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
@@ -1,32 +1,64 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter, AfterContentInit, QueryList, OnDestroy, ElementRef, OnChanges, SimpleChanges, Renderer2, AfterViewInit, TemplateRef, NgZone, ChangeDetectorRef, ApplicationRef, Injector, RendererFactory2, Type, ComponentRef } from '@angular/core';
2
+ import { OnInit, OnChanges, EventEmitter, SimpleChanges, AfterContentInit, OnDestroy, QueryList, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef, AfterViewInit, NgZone, ApplicationRef, Injector, RendererFactory2, Type, ComponentRef } from '@angular/core';
3
3
  import * as rxjs from 'rxjs';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i3 from '@angular/forms';
6
6
  import { FormControlName, ControlValueAccessor, NgControl } from '@angular/forms';
7
7
  import * as i2 from '@angular/common';
8
8
 
9
- declare class MatchaAccordionItemComponent implements OnInit {
9
+ /**
10
+ * Interface que deve ser implementada por componentes que querem usar matcha-option como filho
11
+ *
12
+ * Permite que matcha-option seja usado em diferentes contextos:
13
+ * - matcha-autocomplete
14
+ * - matcha-select
15
+ * - matcha-menu
16
+ * - etc.
17
+ */
18
+ interface MatchaOptionParent {
19
+ /**
20
+ * Método chamado quando uma opção é selecionada
21
+ * @param option - A instância do MatchaOptionComponent selecionado
22
+ */
23
+ selectOption(option: any): void;
24
+ }
25
+ /**
26
+ * Token de injeção para MatchaOptionParent
27
+ * Usado para injetar o componente pai no matcha-option
28
+ */
29
+ declare const MATCHA_OPTION_PARENT: unique symbol;
30
+
31
+ declare class MatchaAccordionItemComponent implements OnInit, OnChanges {
10
32
  private _stretch;
11
33
  private _isOpen;
12
34
  set stretch(value: boolean | string);
13
35
  get stretch(): boolean;
36
+ get stretchClass(): boolean;
37
+ private _clickableHeader;
38
+ set clickableHeader(value: boolean | string);
39
+ get clickableHeader(): boolean;
14
40
  set isOpen(value: boolean | string);
15
41
  get isOpen(): boolean;
42
+ get isOpenClass(): boolean;
16
43
  opened: EventEmitter<boolean>;
44
+ toggleRequested: EventEmitter<void>;
17
45
  ngOnInit(): void;
46
+ ngOnChanges(changes: SimpleChanges): void;
18
47
  toggleAccordion(): void;
19
48
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaAccordionItemComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaAccordionItemComponent, "matcha-accordion-item", never, { "stretch": { "alias": "stretch"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "opened": "opened"; }, never, ["matcha-accordion-header", "matcha-accordion-content", "*"], false, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaAccordionItemComponent, "matcha-accordion-item", never, { "stretch": { "alias": "stretch"; "required": false; }; "clickableHeader": { "alias": "clickableHeader"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "opened": "opened"; "toggleRequested": "toggleRequested"; }, never, ["matcha-accordion-header", "matcha-accordion-content", "*"], false, never>;
21
50
  }
22
51
 
23
- declare class MatchaAccordionComponent implements AfterContentInit {
52
+ declare class MatchaAccordionComponent implements AfterContentInit, OnDestroy {
24
53
  private _multiple;
25
54
  set multiple(value: boolean | string);
26
55
  get multiple(): boolean;
27
56
  openedChange: EventEmitter<boolean>;
28
57
  items: QueryList<MatchaAccordionItemComponent>;
58
+ private subscriptions;
29
59
  ngAfterContentInit(): void;
60
+ ngOnDestroy(): void;
61
+ private setupItems;
30
62
  toggleItem(selectedItem: MatchaAccordionItemComponent): void;
31
63
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaAccordionComponent, never>;
32
64
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaAccordionComponent, "matcha-accordion", never, { "multiple": { "alias": "multiple"; "required": false; }; }, { "openedChange": "openedChange"; }, ["items"], ["*"], false, never>;
@@ -252,9 +284,11 @@ declare class MatchaCardComponent {
252
284
  private _alpha;
253
285
  get alpha(): boolean | string;
254
286
  set alpha(v: boolean | string);
287
+ get alphaAttr(): string | null;
255
288
  private _tint;
256
289
  get tint(): boolean | string;
257
290
  set tint(v: boolean | string);
291
+ get tintAttr(): string | null;
258
292
  private _loading;
259
293
  get loading(): boolean | string;
260
294
  set loading(v: boolean | string);
@@ -298,26 +332,90 @@ declare class MatchaTitleComponent {
298
332
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTitleComponent, "matcha-title", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "iconClick": "iconClick"; }, never, ["*"], false, never>;
299
333
  }
300
334
 
335
+ interface DrawerItem {
336
+ id: string;
337
+ label: string;
338
+ icon?: string;
339
+ route?: string;
340
+ action?: () => void;
341
+ badge?: string | number;
342
+ disabled?: boolean;
343
+ divider?: boolean;
344
+ }
345
+ interface DrawerSection {
346
+ id: string;
347
+ title?: string;
348
+ items: DrawerItem[];
349
+ position: 'top' | 'bottom';
350
+ divider?: boolean;
351
+ }
352
+ type DrawerMode = 'push' | 'overlay';
353
+ type DrawerPosition = 'left' | 'right';
301
354
  declare class MatchaDrawerComponent implements OnInit, OnDestroy {
302
355
  private elementRef;
303
356
  private renderer;
357
+ private cdr;
304
358
  isOpen: boolean;
305
- mode: 'push' | 'overlay';
306
- position: 'left' | 'right';
359
+ mode: DrawerMode;
360
+ position: DrawerPosition;
307
361
  width: string;
362
+ hasBackdrop: boolean;
363
+ disableClose: boolean;
364
+ autoCloseOnMobile: boolean;
365
+ breakpoint: number;
366
+ elevation: number;
367
+ hasFooter: boolean;
308
368
  isOpenChange: EventEmitter<boolean>;
309
- openChange: EventEmitter<boolean>;
369
+ drawerToggle: EventEmitter<void>;
370
+ drawerOpened: EventEmitter<void>;
371
+ drawerClosed: EventEmitter<void>;
372
+ drawerContent: TemplateRef<any>;
310
373
  get drawerClasses(): string;
311
374
  get drawerWidth(): string;
312
- constructor(elementRef: ElementRef, renderer: Renderer2);
375
+ get drawerHeight(): string;
376
+ private resizeObserver;
377
+ private isMobile;
378
+ private bodyScrollLocked;
379
+ constructor(elementRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef);
313
380
  ngOnInit(): void;
314
381
  ngOnDestroy(): void;
382
+ private setupResizeObserver;
383
+ private checkScreenSize;
384
+ private setupBodyScrollLock;
385
+ private lockBodyScroll;
386
+ private unlockBodyScroll;
315
387
  toggle(): void;
316
388
  open(): void;
317
389
  close(): void;
318
- get animationState(): "void" | "left" | "right";
390
+ onBackdropClick(): void;
391
+ onKeyDown(event: KeyboardEvent): void;
392
+ getDrawerTransform(): string;
393
+ get animationState(): "open" | "closed";
394
+ get isOverlayMode(): boolean;
395
+ get isPushMode(): boolean;
319
396
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDrawerComponent, never>;
320
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDrawerComponent, "matcha-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "position": { "alias": "position"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "isOpenChange": "isOpenChange"; "openChange": "openChange"; }, never, ["[slot=header]", "*", "[slot=footer]"], false, never>;
397
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDrawerComponent, "matcha-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "position": { "alias": "position"; "required": false; }; "width": { "alias": "width"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "autoCloseOnMobile": { "alias": "autoCloseOnMobile"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "elevation": { "alias": "elevation"; "required": false; }; "hasFooter": { "alias": "hasFooter"; "required": false; }; }, { "isOpenChange": "isOpenChange"; "drawerToggle": "drawerToggle"; "drawerOpened": "drawerOpened"; "drawerClosed": "drawerClosed"; }, never, ["[drawer-header]", "[drawer-content]", "*", "[drawer-footer]"], false, never>;
398
+ }
399
+
400
+ declare class MatchaDrawerContainerComponent implements OnInit, OnDestroy {
401
+ hasBackdrop: boolean;
402
+ autoFocus: boolean;
403
+ drawer: MatchaDrawerComponent;
404
+ ngOnInit(): void;
405
+ ngOnDestroy(): void;
406
+ private setupDrawerEvents;
407
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDrawerContainerComponent, never>;
408
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDrawerContainerComponent, "matcha-drawer-container", never, { "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; }, {}, ["drawer"], ["*"], false, never>;
409
+ }
410
+
411
+ declare class MatchaDrawerContentComponent {
412
+ padding: string;
413
+ scrollable: boolean;
414
+ maxHeight: string;
415
+ get contentClasses(): string;
416
+ get maxHeightStyle(): string;
417
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDrawerContentComponent, never>;
418
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDrawerContentComponent, "matcha-drawer-content", never, { "padding": { "alias": "padding"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, {}, never, ["*"], false, never>;
321
419
  }
322
420
 
323
421
  declare class MatchaIconComponent {
@@ -431,7 +529,9 @@ declare class MatchaMenuComponent {
431
529
  }
432
530
 
433
531
  declare class MatchaToolbarComponent implements OnInit, OnDestroy {
532
+ elevation: number;
434
533
  isMobileScreen: boolean;
534
+ get elevationClass(): string;
435
535
  private readonly mobileBreakpoint;
436
536
  private resizeTimeout;
437
537
  ngOnInit(): void;
@@ -439,7 +539,7 @@ declare class MatchaToolbarComponent implements OnInit, OnDestroy {
439
539
  private checkScreenWidth;
440
540
  ngOnDestroy(): void;
441
541
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaToolbarComponent, never>;
442
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaToolbarComponent, "matcha-toolbar", never, {}, {}, never, ["matcha-toolbar-main-button", "matcha-toolbar-custom-button", "matcha-title", "search-form", "matcha-toolbar-button", "matcha-toolbar-content", "*"], false, never>;
542
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaToolbarComponent, "matcha-toolbar", never, { "elevation": { "alias": "elevation"; "required": false; }; }, {}, never, ["matcha-toolbar-main-button", "matcha-toolbar-custom-button", "matcha-title", "search-form", "matcha-toolbar-button", "matcha-toolbar-content", "*"], false, never>;
443
543
  }
444
544
 
445
545
  declare class MatchaToolbarButtonComponent {
@@ -480,7 +580,7 @@ declare class MatchaFormFieldComponent {
480
580
  get control(): i3.FormControl<any> | undefined;
481
581
  get showError(): boolean;
482
582
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaFormFieldComponent, never>;
483
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaFormFieldComponent, "matcha-form-field", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "sizeXs": { "alias": "size-xs"; "required": false; }; "sizeSm": { "alias": "size-sm"; "required": false; }; "sizeMd": { "alias": "size-md"; "required": false; }; "sizeLg": { "alias": "size-lg"; "required": false; }; "sizeXl": { "alias": "size-xl"; "required": false; }; }, {}, ["controlDir"], ["matcha-label", "*", "matcha-error", "matcha-autocomplete"], false, never>;
583
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaFormFieldComponent, "matcha-form-field", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "sizeXs": { "alias": "size-xs"; "required": false; }; "sizeSm": { "alias": "size-sm"; "required": false; }; "sizeMd": { "alias": "size-md"; "required": false; }; "sizeLg": { "alias": "size-lg"; "required": false; }; "sizeXl": { "alias": "size-xl"; "required": false; }; }, {}, ["controlDir"], ["matcha-label", "*", "matcha-error", "matcha-autocomplete", "matcha-hint-text"], false, never>;
484
584
  }
485
585
 
486
586
  declare class MatchaLabelComponent {
@@ -498,11 +598,11 @@ declare class MatchaCheckboxComponent implements ControlValueAccessor {
498
598
  color: string;
499
599
  indeterminate: boolean;
500
600
  private _disabled;
501
- set disabled(value: boolean | string);
502
601
  get disabled(): boolean;
503
- get checked(): boolean;
504
- set checked(value: boolean);
602
+ set disabled(value: boolean | string);
505
603
  private _checked;
604
+ get checked(): boolean;
605
+ set checked(value: boolean | string);
506
606
  checkedChange: EventEmitter<{
507
607
  checked: boolean;
508
608
  }>;
@@ -921,27 +1021,23 @@ declare class MatchaPageLayoutComponent {
921
1021
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaPageLayoutComponent, "matcha-page-layout", never, {}, {}, never, ["*"], false, never>;
922
1022
  }
923
1023
 
924
- /**
925
- * Interface que deve ser implementada por componentes que querem usar matcha-option como filho
926
- *
927
- * Permite que matcha-option seja usado em diferentes contextos:
928
- * - matcha-autocomplete
929
- * - matcha-select
930
- * - matcha-menu
931
- * - etc.
932
- */
933
- interface MatchaOptionParent {
934
- /**
935
- * Método chamado quando uma opção é selecionada
936
- * @param option - A instância do MatchaOptionComponent selecionado
937
- */
938
- selectOption(option: any): void;
1024
+ declare class MatchaAvatarComponent {
1025
+ src: string;
1026
+ name: string;
1027
+ size: 'tiny' | 'small' | 'medium' | 'large' | 'huge';
1028
+ color: string;
1029
+ private _disabled;
1030
+ set disabled(value: boolean | string);
1031
+ get disabled(): boolean;
1032
+ get initials(): string;
1033
+ get hasImage(): boolean;
1034
+ get hasName(): boolean;
1035
+ get showDefaultIcon(): boolean;
1036
+ get sizeClass(): string;
1037
+ get avatarClasses(): string;
1038
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaAvatarComponent, never>;
1039
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaAvatarComponent, "matcha-avatar", never, { "src": { "alias": "src"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
939
1040
  }
940
- /**
941
- * Token de injeção para MatchaOptionParent
942
- * Usado para injetar o componente pai no matcha-option
943
- */
944
- declare const MATCHA_OPTION_PARENT: unique symbol;
945
1041
 
946
1042
  declare class MatchaOptionComponent {
947
1043
  private parent;
@@ -953,30 +1049,104 @@ declare class MatchaOptionComponent {
953
1049
  optionSelect: EventEmitter<MatchaOptionComponent>;
954
1050
  constructor(parent: MatchaOptionParent | null, elRef: ElementRef);
955
1051
  onClick(): void;
1052
+ private findParentAndSelect;
956
1053
  onKeydown(ev: KeyboardEvent): void;
957
1054
  get nativeElement(): HTMLElement;
958
1055
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaOptionComponent, [{ optional: true; }, null]>;
959
1056
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaOptionComponent, "matcha-option", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "optionClick": "optionClick"; "optionSelect": "optionSelect"; }, never, ["*"], false, never>;
960
1057
  }
961
1058
 
962
- declare class MatchaAutocompleteComponent implements AfterContentInit, MatchaOptionParent {
1059
+ interface PanelPosition {
1060
+ top: number;
1061
+ left: number;
1062
+ width: number;
1063
+ maxHeight?: number;
1064
+ }
1065
+ type PanelPlacement = 'bottom' | 'top' | 'auto';
1066
+ declare class MatchaPanelComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {
1067
+ private elRef;
1068
+ private cdr;
1069
+ placement: PanelPlacement;
1070
+ maxHeight: number;
1071
+ minWidth: number;
1072
+ offset: number;
1073
+ triggerElement?: HTMLElement;
1074
+ open: boolean;
1075
+ opened: EventEmitter<void>;
1076
+ closed: EventEmitter<void>;
1077
+ panelRef?: ElementRef<HTMLElement>;
1078
+ panelStyle: {
1079
+ [key: string]: any;
1080
+ };
1081
+ private destroy$;
1082
+ private scrollListener?;
1083
+ private resizeListener?;
1084
+ constructor(elRef: ElementRef, cdr: ChangeDetectorRef);
1085
+ ngOnInit(): void;
1086
+ ngOnDestroy(): void;
1087
+ /**
1088
+ * Anexa o painel a um elemento trigger
1089
+ */
1090
+ attachTo(trigger: HTMLElement): void;
1091
+ ngAfterViewInit(): void;
1092
+ /**
1093
+ * Lifecycle hook para detectar mudanças no triggerElement
1094
+ */
1095
+ ngOnChanges(): void;
1096
+ /**
1097
+ * Abre o painel
1098
+ */
1099
+ openPanel(): void;
1100
+ /**
1101
+ * Fecha o painel
1102
+ */
1103
+ closePanel(): void;
1104
+ /**
1105
+ * Alterna o estado do painel
1106
+ */
1107
+ togglePanel(): void;
1108
+ /**
1109
+ * Atualiza a posição do painel (simplificado para absolute)
1110
+ */
1111
+ updatePosition(): void;
1112
+ /**
1113
+ * Calcula a posição ideal do painel (simplificado para absolute)
1114
+ */
1115
+ private calculatePosition;
1116
+ /**
1117
+ * Configura listeners para scroll e resize
1118
+ */
1119
+ private setupListeners;
1120
+ /**
1121
+ * Remove listeners
1122
+ */
1123
+ private cleanupListeners;
1124
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaPanelComponent, never>;
1125
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaPanelComponent, "matcha-panel", never, { "placement": { "alias": "placement"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "triggerElement": { "alias": "triggerElement"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["*"], false, never>;
1126
+ }
1127
+
1128
+ declare class MatchaAutocompleteComponent implements AfterContentInit, AfterViewInit, MatchaOptionParent {
963
1129
  elRef: ElementRef;
964
1130
  private renderer;
965
1131
  private cdr;
966
1132
  options: QueryList<MatchaOptionComponent>;
1133
+ panel: MatchaPanelComponent;
1134
+ private selectedValue;
1135
+ placement: 'bottom' | 'top' | 'auto';
1136
+ maxHeight: number;
1137
+ minWidth: number;
1138
+ opened: EventEmitter<void>;
1139
+ closed: EventEmitter<void>;
967
1140
  open: boolean;
968
- panelStyle: {
969
- [k: string]: any;
970
- };
971
- private triggerElement?;
1141
+ triggerElement?: HTMLElement;
972
1142
  private activeIndex;
973
1143
  constructor(elRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef);
974
1144
  ngAfterContentInit(): void;
1145
+ ngAfterViewInit(): void;
975
1146
  attachTo(input: HTMLElement): void;
976
1147
  openPanel(): void;
977
1148
  closePanel(): void;
978
1149
  togglePanel(): void;
979
- setPanelPosition(): void;
980
1150
  resetActive(): void;
981
1151
  private updateSelectedStates;
982
1152
  highlightNext(): void;
@@ -986,7 +1156,7 @@ declare class MatchaAutocompleteComponent implements AfterContentInit, MatchaOpt
986
1156
  selectOption(option: MatchaOptionComponent): void;
987
1157
  getSelectedValue(): any;
988
1158
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaAutocompleteComponent, never>;
989
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaAutocompleteComponent, "matcha-autocomplete", never, {}, {}, ["options"], ["*"], false, never>;
1159
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaAutocompleteComponent, "matcha-autocomplete", never, { "placement": { "alias": "placement"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, ["options"], ["*"], false, never>;
990
1160
  }
991
1161
 
992
1162
  declare class MatchaTooltipDirective {
@@ -1133,6 +1303,7 @@ declare class MatchaAutocompleteTriggerDirective implements AfterViewInit, OnDes
1133
1303
  ngAfterViewInit(): void;
1134
1304
  ngOnDestroy(): void;
1135
1305
  private writeValueToInput;
1306
+ onClick(): void;
1136
1307
  onFocus(): void;
1137
1308
  onInput(e: Event): void;
1138
1309
  onKeydown(ev: KeyboardEvent): void;
@@ -1147,9 +1318,15 @@ declare class MatchaOptionModule {
1147
1318
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaOptionModule>;
1148
1319
  }
1149
1320
 
1321
+ declare class MatchaPanelModule {
1322
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaPanelModule, never>;
1323
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaPanelModule, [typeof MatchaPanelComponent], [typeof i2.CommonModule], [typeof MatchaPanelComponent]>;
1324
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaPanelModule>;
1325
+ }
1326
+
1150
1327
  declare class MatchaAutocompleteModule {
1151
1328
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaAutocompleteModule, never>;
1152
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaAutocompleteModule, [typeof MatchaAutocompleteComponent, typeof MatchaAutocompleteTriggerDirective], [typeof i2.CommonModule, typeof MatchaOptionModule], [typeof MatchaAutocompleteComponent, typeof MatchaAutocompleteTriggerDirective, typeof MatchaOptionModule]>;
1329
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaAutocompleteModule, [typeof MatchaAutocompleteComponent, typeof MatchaAutocompleteTriggerDirective], [typeof i2.CommonModule, typeof MatchaOptionModule, typeof MatchaPanelModule], [typeof MatchaAutocompleteComponent, typeof MatchaAutocompleteTriggerDirective, typeof MatchaOptionModule]>;
1153
1330
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaAutocompleteModule>;
1154
1331
  }
1155
1332
 
@@ -1210,20 +1387,6 @@ declare class MatchaChipsModule {
1210
1387
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaChipsModule>;
1211
1388
  }
1212
1389
 
1213
- declare class MatchaDatepickerDirective {
1214
- private _elementRef;
1215
- private _renderer;
1216
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
1217
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDatepickerDirective, never>;
1218
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaDatepickerDirective, "[matcha-datepicker]", never, {}, {}, never, never, false, never>;
1219
- }
1220
-
1221
- declare class MatchaDatepickerModule {
1222
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDatepickerModule, never>;
1223
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaDatepickerModule, [typeof MatchaDatepickerDirective], never, [typeof MatchaDatepickerDirective]>;
1224
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaDatepickerModule>;
1225
- }
1226
-
1227
1390
  declare class MatchaHintTextModule {
1228
1391
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaHintTextModule, never>;
1229
1392
  static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaHintTextModule, [typeof MatchaHintTextComponent], [typeof i2.CommonModule, typeof MatchaIconModule], [typeof MatchaHintTextComponent]>;
@@ -1290,20 +1453,6 @@ declare class MatchaProgressBarModule {
1290
1453
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaProgressBarModule>;
1291
1454
  }
1292
1455
 
1293
- declare class MatchaSelectDirective {
1294
- private _elementRef;
1295
- private _renderer;
1296
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
1297
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSelectDirective, never>;
1298
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaSelectDirective, "[matcha-select]", never, {}, {}, never, never, false, never>;
1299
- }
1300
-
1301
- declare class MatchaSelectModule {
1302
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSelectModule, never>;
1303
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaSelectModule, [typeof MatchaSelectDirective], [typeof i2.CommonModule], [typeof MatchaSelectDirective]>;
1304
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSelectModule>;
1305
- }
1306
-
1307
1456
  declare class MatchaSidenavDirective {
1308
1457
  private _elementRef;
1309
1458
  private _renderer;
@@ -1456,13 +1605,19 @@ declare class MatchaPageLayoutModule {
1456
1605
 
1457
1606
  declare class MatchaDrawerModule {
1458
1607
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDrawerModule, never>;
1459
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaDrawerModule, [typeof MatchaDrawerComponent], [typeof i2.CommonModule, typeof MatchaButtonModule], [typeof MatchaDrawerComponent]>;
1608
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaDrawerModule, [typeof MatchaDrawerComponent, typeof MatchaDrawerContainerComponent, typeof MatchaDrawerContentComponent], [typeof i2.CommonModule, typeof MatchaButtonModule], [typeof MatchaDrawerComponent, typeof MatchaDrawerContainerComponent, typeof MatchaDrawerContentComponent]>;
1460
1609
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaDrawerModule>;
1461
1610
  }
1462
1611
 
1612
+ declare class MatchaAvatarModule {
1613
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaAvatarModule, never>;
1614
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaAvatarModule, [typeof MatchaAvatarComponent], [typeof i2.CommonModule], [typeof MatchaAvatarComponent]>;
1615
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaAvatarModule>;
1616
+ }
1617
+
1463
1618
  declare class MatchaComponentsModule {
1464
1619
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
1465
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaChipsModule, typeof MatchaDatepickerModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSelectModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaChipsModule, typeof MatchaDatepickerModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSelectModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule]>;
1620
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaChipsModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaChipsModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputModule, typeof MatchaMasonryModule, typeof MatchaMenuModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaProgressBarModule, typeof MatchaRippleModule, typeof MatchaSidenavModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSnackBarModule, typeof MatchaSortHeaderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTableModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule]>;
1466
1621
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
1467
1622
  }
1468
1623
 
@@ -1579,5 +1734,5 @@ declare class StepContentDirective {
1579
1734
  static ɵdir: i0.ɵɵDirectiveDeclaration<StepContentDirective, "[step]", never, { "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
1580
1735
  }
1581
1736
 
1582
- export { MATCHA_OPTION_PARENT, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaBadgeDirective, MatchaBadgeModule, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipsDirective, MatchaChipsModule, MatchaComponentsModule, MatchaDateComponent, MatchaDateModule, MatchaDatepickerDirective, MatchaDatepickerModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputDirective, MatchaInputModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuModule, MatchaMenuTriggerForDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorDirective, MatchaPaginatorModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectDirective, MatchaSelectModule, MatchaSidenavDirective, MatchaSidenavModule, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderDirective, MatchaSliderModule, MatchaSnackBarDirective, MatchaSnackBarModule, MatchaSortHeaderDirective, MatchaSortHeaderModule, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaTabItemComponent, MatchaTableDirective, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective };
1583
- export type { ILevelClasses, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaOptionParent, ModalComponent };
1737
+ export { MATCHA_OPTION_PARENT, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBadgeDirective, MatchaBadgeModule, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipsDirective, MatchaChipsModule, MatchaComponentsModule, MatchaDateComponent, MatchaDateModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputDirective, MatchaInputModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuModule, MatchaMenuTriggerForDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorDirective, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSidenavDirective, MatchaSidenavModule, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderDirective, MatchaSliderModule, MatchaSnackBarDirective, MatchaSnackBarModule, MatchaSortHeaderDirective, MatchaSortHeaderModule, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaTabItemComponent, MatchaTableDirective, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective };
1738
+ export type { DrawerItem, DrawerMode, DrawerPosition, DrawerSection, ILevelClasses, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaOptionParent, ModalComponent, PanelPlacement, PanelPosition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.5.0",
3
+ "version": "20.12.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"