matcha-components 20.13.0 → 20.16.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
@@ -4,6 +4,7 @@ import * as rxjs from 'rxjs';
4
4
  import { Observable, Subject } from 'rxjs';
5
5
  import * as i3 from '@angular/forms';
6
6
  import { FormControlName, ControlValueAccessor, NgControl } from '@angular/forms';
7
+ import { HttpClient } from '@angular/common/http';
7
8
  import * as i2 from '@angular/common';
8
9
 
9
10
  /**
@@ -332,6 +333,69 @@ declare class MatchaTitleComponent {
332
333
  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>;
333
334
  }
334
335
 
336
+ interface BreakpointState {
337
+ matches: boolean;
338
+ breakpoint: string;
339
+ }
340
+ /**
341
+ * Serviço singleton para observação de breakpoints CSS
342
+ * Funciona tanto no browser quanto no servidor (SSR)
343
+ */
344
+ declare class MatchaBreakpointObserver implements OnDestroy {
345
+ private platformId;
346
+ private breakpointSubject;
347
+ private resizeSubscription;
348
+ private isBrowser;
349
+ private currentBreakpoints;
350
+ constructor(platformId: Object);
351
+ ngOnDestroy(): void;
352
+ /**
353
+ * Observa um breakpoint específico
354
+ * @param breakpoint - String no formato CSS media query (ex: '(max-width: 768px)')
355
+ * @returns Observable<BreakpointState>
356
+ */
357
+ observe(breakpoint: string): Observable<BreakpointState>;
358
+ /**
359
+ * Verifica se um breakpoint específico está ativo
360
+ * @param breakpoint - String no formato CSS media query
361
+ * @returns boolean
362
+ */
363
+ isMatched(breakpoint: string): boolean;
364
+ /**
365
+ * Obtém o estado atual do breakpoint
366
+ * @param breakpoint - String no formato CSS media query
367
+ * @returns BreakpointState
368
+ */
369
+ getState(breakpoint: string): BreakpointState;
370
+ /**
371
+ * Observa múltiplos breakpoints simultaneamente
372
+ * @param breakpoints - Array de strings de breakpoints
373
+ * @returns Observable<Map<string, boolean>>
374
+ */
375
+ observeMultiple(breakpoints: string[]): Observable<Map<string, boolean>>;
376
+ private setupResizeListener;
377
+ private checkBreakpoint;
378
+ /**
379
+ * Método utilitário para criar breakpoints comuns
380
+ */
381
+ static createBreakpoint(width: number, condition?: 'max' | 'min'): string;
382
+ /**
383
+ * Breakpoints pré-definidos para facilitar o uso
384
+ */
385
+ static readonly BREAKPOINTS: {
386
+ readonly XS: "(max-width: 480px)";
387
+ readonly SM: "(max-width: 768px)";
388
+ readonly MD: "(max-width: 1024px)";
389
+ readonly LG: "(max-width: 1200px)";
390
+ readonly XL: "(max-width: 1440px)";
391
+ readonly MOBILE: "(max-width: 768px)";
392
+ readonly TABLET: "(min-width: 769px) and (max-width: 1024px)";
393
+ readonly DESKTOP: "(min-width: 1025px)";
394
+ };
395
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaBreakpointObserver, never>;
396
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatchaBreakpointObserver>;
397
+ }
398
+
335
399
  interface DrawerItem {
336
400
  id: string;
337
401
  label: string;
@@ -355,6 +419,7 @@ declare class MatchaDrawerComponent implements OnInit, OnDestroy {
355
419
  private elementRef;
356
420
  private renderer;
357
421
  private cdr;
422
+ private breakpointObserver;
358
423
  isOpen: boolean;
359
424
  mode: DrawerMode;
360
425
  position: DrawerPosition;
@@ -365,6 +430,11 @@ declare class MatchaDrawerComponent implements OnInit, OnDestroy {
365
430
  breakpoint: number;
366
431
  elevation: number;
367
432
  hasFooter: boolean;
433
+ responsiveMode: boolean;
434
+ mobileMode: DrawerMode;
435
+ desktopMode: DrawerMode;
436
+ mobileBreakpoint: number;
437
+ autoResponsive: boolean;
368
438
  isOpenChange: EventEmitter<boolean>;
369
439
  drawerToggle: EventEmitter<void>;
370
440
  drawerOpened: EventEmitter<void>;
@@ -376,11 +446,19 @@ declare class MatchaDrawerComponent implements OnInit, OnDestroy {
376
446
  private resizeObserver;
377
447
  private isMobile;
378
448
  private bodyScrollLocked;
379
- constructor(elementRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef);
449
+ private breakpointSubscription?;
450
+ private currentResponsiveMode;
451
+ private resizeSubject;
452
+ constructor(elementRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, breakpointObserver: MatchaBreakpointObserver);
380
453
  ngOnInit(): void;
381
454
  ngOnDestroy(): void;
382
455
  private setupResizeObserver;
456
+ private setupResizeDebounce;
383
457
  private checkScreenSize;
458
+ private setupResponsiveMode;
459
+ private updateModeBasedOnScreen;
460
+ private updateDrawerStateOnResize;
461
+ private setupSmartInitialState;
384
462
  private setupBodyScrollLock;
385
463
  private lockBodyScroll;
386
464
  private unlockBodyScroll;
@@ -393,8 +471,12 @@ declare class MatchaDrawerComponent implements OnInit, OnDestroy {
393
471
  get animationState(): "open" | "closed";
394
472
  get isOverlayMode(): boolean;
395
473
  get isPushMode(): boolean;
474
+ get currentMode(): DrawerMode;
475
+ get isMobileView(): boolean;
476
+ get isResponsiveActive(): boolean;
477
+ get isAutoResponsiveActive(): boolean;
396
478
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDrawerComponent, 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>;
479
+ 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; }; "responsiveMode": { "alias": "responsiveMode"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "desktopMode": { "alias": "desktopMode"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "autoResponsive": { "alias": "autoResponsive"; "required": false; }; }, { "isOpenChange": "isOpenChange"; "drawerToggle": "drawerToggle"; "drawerOpened": "drawerOpened"; "drawerClosed": "drawerClosed"; }, never, ["[drawer-header]", "[drawer-content]", "*", "[drawer-footer]"], false, never>;
398
480
  }
399
481
 
400
482
  declare class MatchaDrawerContainerComponent implements OnInit, OnDestroy {
@@ -715,6 +797,7 @@ declare class MatchaSkeletonComponent {
715
797
  gap: number | string;
716
798
  get classes(): string;
717
799
  get heightClass(): string;
800
+ get amountArray(): number[];
718
801
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSkeletonComponent, never>;
719
802
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaSkeletonComponent, "matcha-skeleton", never, { "amount": { "alias": "amount"; "required": false; }; "grid": { "alias": "grid"; "required": false; }; "height": { "alias": "height"; "required": false; }; "model": { "alias": "model"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, never, ["*"], false, never>;
720
803
  }
@@ -794,7 +877,7 @@ declare class MatchaTabsComponent implements AfterContentInit {
794
877
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTabsComponent, "matcha-tabs", never, { "activeTabIndex": { "alias": "activeTabIndex"; "required": false; }; }, { "tabSelected": "tabSelected"; }, ["tabs"], ["*"], false, never>;
795
878
  }
796
879
 
797
- declare class MatchaDateComponent implements AfterContentInit, OnDestroy {
880
+ declare class MatchaDateRangeComponent implements AfterContentInit, OnDestroy {
798
881
  controls: QueryList<NgControl>;
799
882
  private startDateControl;
800
883
  private endDateControl;
@@ -802,15 +885,15 @@ declare class MatchaDateComponent implements AfterContentInit, OnDestroy {
802
885
  ngAfterContentInit(): void;
803
886
  ngOnDestroy(): void;
804
887
  /**
805
- * Validação simples: data inicial não pode ser posterior à data final
888
+ * Validação de formato de data e intervalo: data inicial não pode ser posterior à data final
806
889
  */
807
890
  private validateDateRange;
808
891
  /**
809
892
  * Remove um erro específico sem afetar outros erros
810
893
  */
811
894
  private removeSpecificError;
812
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDateComponent, never>;
813
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDateComponent, "matcha-date", never, {}, {}, ["controls"], ["*"], false, never>;
895
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDateRangeComponent, never>;
896
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDateRangeComponent, "matcha-date-range", never, {}, {}, ["controls"], ["*"], false, never>;
814
897
  }
815
898
 
816
899
  declare class MatchaTimeComponent implements AfterContentInit, OnDestroy {
@@ -1144,6 +1227,8 @@ declare class MatchaAutocompleteComponent implements AfterContentInit, AfterView
1144
1227
  ngAfterContentInit(): void;
1145
1228
  ngAfterViewInit(): void;
1146
1229
  attachTo(input: HTMLElement): void;
1230
+ private closeOtherPanels;
1231
+ private notifyDirectiveOfSelection;
1147
1232
  openPanel(): void;
1148
1233
  closePanel(): void;
1149
1234
  togglePanel(): void;
@@ -1159,6 +1244,63 @@ declare class MatchaAutocompleteComponent implements AfterContentInit, AfterView
1159
1244
  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>;
1160
1245
  }
1161
1246
 
1247
+ declare class MatchaSelectComponent implements AfterContentInit, AfterViewInit, MatchaOptionParent, ControlValueAccessor {
1248
+ elRef: ElementRef;
1249
+ private renderer;
1250
+ private cdr;
1251
+ options: QueryList<MatchaOptionComponent>;
1252
+ panel: MatchaPanelComponent;
1253
+ selectedValue: any;
1254
+ placement: 'bottom' | 'top' | 'auto';
1255
+ maxHeight: number;
1256
+ minWidth: number;
1257
+ placeholder: string;
1258
+ disabled: boolean;
1259
+ opened: EventEmitter<void>;
1260
+ closed: EventEmitter<void>;
1261
+ selectionChange: EventEmitter<any>;
1262
+ open: boolean;
1263
+ triggerElement?: HTMLElement;
1264
+ private activeIndex;
1265
+ private onChange;
1266
+ private onTouched;
1267
+ isDisabled: boolean;
1268
+ constructor(elRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef);
1269
+ ngAfterContentInit(): void;
1270
+ ngAfterViewInit(): void;
1271
+ private setupKeyboardNavigation;
1272
+ private handleArrowDown;
1273
+ private handleArrowUp;
1274
+ private handleEnterOrSpace;
1275
+ private handleEscape;
1276
+ private closeOtherPanels;
1277
+ private notifyDirectiveOfSelection;
1278
+ onTriggerClick(): void;
1279
+ openPanel(): void;
1280
+ closePanel(): void;
1281
+ togglePanel(): void;
1282
+ resetActive(): void;
1283
+ private setActiveIndexFromSelectedValue;
1284
+ private selectNextOption;
1285
+ private selectPreviousOption;
1286
+ private selectOptionByIndex;
1287
+ private updateSelectedStates;
1288
+ highlightNext(): void;
1289
+ highlightPrevious(): void;
1290
+ private scrollToActive;
1291
+ selectActive(): void;
1292
+ selectOption(option: MatchaOptionComponent): void;
1293
+ getSelectedValue(): any;
1294
+ setValue(value: any): void;
1295
+ clearSelection(): void;
1296
+ writeValue(value: any): void;
1297
+ registerOnChange(fn: (value: any) => void): void;
1298
+ registerOnTouched(fn: () => void): void;
1299
+ setDisabledState(isDisabled: boolean): void;
1300
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSelectComponent, never>;
1301
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaSelectComponent, "matcha-select", never, { "placement": { "alias": "placement"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; "selectionChange": "selectionChange"; }, ["options"], ["*"], false, never>;
1302
+ }
1303
+
1162
1304
  interface PageEvent {
1163
1305
  /** The current page index. */
1164
1306
  pageIndex: number;
@@ -1215,13 +1357,13 @@ declare class MatchaPaginatorComponent implements OnDestroy {
1215
1357
  get displayPages(): (number | string)[];
1216
1358
  trackByPage(index: number, item: number | string): number | string;
1217
1359
  /** Check if item is a number (for template use only) */
1218
- typeof(value: any): string;
1360
+ isNumber(value: any): boolean;
1219
1361
  /** Navigate to previous page */
1220
1362
  previousPage(): void;
1221
1363
  /** Navigate to next page */
1222
1364
  nextPage(): void;
1223
1365
  /** Navigate to specific page */
1224
- goToPage(page: number): void;
1366
+ goToPage(page: number | string): void;
1225
1367
  /** Handle page size change */
1226
1368
  onPageSizeChange(event: Event): void;
1227
1369
  private changePage;
@@ -1229,6 +1371,65 @@ declare class MatchaPaginatorComponent implements OnDestroy {
1229
1371
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaPaginatorComponent, "matcha-paginator", never, { "pageIndex": { "alias": "pageIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "page": "page"; }, never, never, false, never>;
1230
1372
  }
1231
1373
 
1374
+ declare class MatchaHighlightComponent implements OnInit, OnDestroy {
1375
+ private _elementRef;
1376
+ private _httpClient;
1377
+ source: ElementRef;
1378
+ lang: string;
1379
+ path: string;
1380
+ theme: string;
1381
+ get themeAttr(): string;
1382
+ private _unsubscribeAll;
1383
+ /**
1384
+ * Constructor
1385
+ *
1386
+ * @param {ElementRef} _elementRef
1387
+ * @param {HttpClient} _httpClient
1388
+ */
1389
+ constructor(_elementRef: ElementRef, _httpClient: HttpClient);
1390
+ /**
1391
+ * On init
1392
+ */
1393
+ ngOnInit(): void;
1394
+ /**
1395
+ * On destroy
1396
+ */
1397
+ ngOnDestroy(): void;
1398
+ /**
1399
+ * Apply theme to the component
1400
+ */
1401
+ /**
1402
+ * Highlight the given source code
1403
+ *
1404
+ * @param sourceCode
1405
+ */
1406
+ highlight(sourceCode: string): void;
1407
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaHighlightComponent, never>;
1408
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaHighlightComponent, "matcha-highlight", never, { "lang": { "alias": "lang"; "required": false; }; "path": { "alias": "path"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, ["source"], ["*"], false, never>;
1409
+ }
1410
+
1411
+ declare class CopyButtonComponent {
1412
+ private elementRef;
1413
+ type: string;
1414
+ size: 'tiny' | 'small' | 'medium' | 'large';
1415
+ icon: string;
1416
+ position: 'absolute' | 'relative';
1417
+ customClass: string;
1418
+ copied: EventEmitter<{
1419
+ text: string;
1420
+ type: string;
1421
+ }>;
1422
+ currentIcon: string;
1423
+ isCopied: boolean;
1424
+ copyToClipboard(): Promise<void>;
1425
+ private fallbackCopyToClipboard;
1426
+ private showCopyFeedback;
1427
+ getButtonClasses(): string;
1428
+ constructor(elementRef: ElementRef);
1429
+ static ɵfac: i0.ɵɵFactoryDeclaration<CopyButtonComponent, never>;
1430
+ static ɵcmp: i0.ɵɵComponentDeclaration<CopyButtonComponent, "matcha-copy-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "position": { "alias": "position"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, { "copied": "copied"; }, never, never, false, never>;
1431
+ }
1432
+
1232
1433
  declare class MatchaTooltipDirective {
1233
1434
  private el;
1234
1435
  private renderer;
@@ -1400,6 +1601,28 @@ declare class MatchaAutocompleteModule {
1400
1601
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaAutocompleteModule>;
1401
1602
  }
1402
1603
 
1604
+ declare class MatchaSelectTriggerDirective implements AfterViewInit, OnDestroy {
1605
+ private el;
1606
+ select: MatchaSelectComponent;
1607
+ private subs;
1608
+ constructor(el: ElementRef<HTMLElement>);
1609
+ ngAfterViewInit(): void;
1610
+ ngOnDestroy(): void;
1611
+ private writeValueToInput;
1612
+ onClick(): void;
1613
+ onFocus(): void;
1614
+ onKeydown(ev: KeyboardEvent): void;
1615
+ onDocClick(ev: MouseEvent): void;
1616
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSelectTriggerDirective, never>;
1617
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaSelectTriggerDirective, "[matchaSelect]", never, { "select": { "alias": "matchaSelect"; "required": false; }; }, {}, never, never, false, never>;
1618
+ }
1619
+
1620
+ declare class MatchaSelectModule {
1621
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSelectModule, never>;
1622
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaSelectModule, [typeof MatchaSelectComponent, typeof MatchaSelectTriggerDirective], [typeof i2.CommonModule, typeof MatchaOptionModule, typeof MatchaPanelModule], [typeof MatchaSelectComponent, typeof MatchaSelectTriggerDirective]>;
1623
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSelectModule>;
1624
+ }
1625
+
1403
1626
  declare class MatchaBadgeDirective {
1404
1627
  private _elementRef;
1405
1628
  private _renderer;
@@ -1443,20 +1666,6 @@ declare class MatchaRadioModule {
1443
1666
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaRadioModule>;
1444
1667
  }
1445
1668
 
1446
- declare class MatchaChipsDirective {
1447
- private _elementRef;
1448
- private _renderer;
1449
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
1450
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaChipsDirective, never>;
1451
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaChipsDirective, "[matchaChips]", never, {}, {}, never, never, false, never>;
1452
- }
1453
-
1454
- declare class MatchaChipsModule {
1455
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaChipsModule, never>;
1456
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaChipsModule, [typeof MatchaChipsDirective], never, [typeof MatchaChipsDirective]>;
1457
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaChipsModule>;
1458
- }
1459
-
1460
1669
  declare class MatchaHintTextModule {
1461
1670
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaHintTextModule, never>;
1462
1671
  static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaHintTextModule, [typeof MatchaHintTextComponent], [typeof i2.CommonModule, typeof MatchaIconModule], [typeof MatchaHintTextComponent]>;
@@ -1631,10 +1840,10 @@ declare class MatchaTabsModule {
1631
1840
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaTabsModule>;
1632
1841
  }
1633
1842
 
1634
- declare class MatchaDateModule {
1635
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDateModule, never>;
1636
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaDateModule, [typeof MatchaDateComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule], [typeof MatchaDateComponent]>;
1637
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaDateModule>;
1843
+ declare class MatchaDateRangeModule {
1844
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDateRangeModule, never>;
1845
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaDateRangeModule, [typeof MatchaDateRangeComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule], [typeof MatchaDateRangeComponent]>;
1846
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaDateRangeModule>;
1638
1847
  }
1639
1848
 
1640
1849
  declare class MatchaTimeModule {
@@ -1671,6 +1880,12 @@ declare class MatchaDrawerModule {
1671
1880
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaDrawerModule>;
1672
1881
  }
1673
1882
 
1883
+ declare class MatchaHighlightModule {
1884
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaHighlightModule, never>;
1885
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaHighlightModule, [typeof MatchaHighlightComponent, typeof CopyButtonComponent], [typeof MatchaIconModule, typeof MatchaButtonModule], [typeof MatchaHighlightComponent, typeof CopyButtonComponent]>;
1886
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaHighlightModule>;
1887
+ }
1888
+
1674
1889
  declare class MatchaAvatarModule {
1675
1890
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaAvatarModule, never>;
1676
1891
  static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaAvatarModule, [typeof MatchaAvatarComponent], [typeof i2.CommonModule], [typeof MatchaAvatarComponent]>;
@@ -1679,7 +1894,7 @@ declare class MatchaAvatarModule {
1679
1894
 
1680
1895
  declare class MatchaComponentsModule {
1681
1896
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
1682
- 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]>;
1897
+ 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 MatchaSelectModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, 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 MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaBadgeModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, 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 MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule]>;
1683
1898
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
1684
1899
  }
1685
1900
 
@@ -1689,6 +1904,21 @@ declare class MatchaSkeletonModule {
1689
1904
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSkeletonModule>;
1690
1905
  }
1691
1906
 
1907
+ /**
1908
+ * Módulo para o MatchaBreakpointObserver
1909
+ *
1910
+ * Este módulo fornece o serviço MatchaBreakpointObserver que pode ser usado
1911
+ * em qualquer parte da aplicação para observar breakpoints CSS.
1912
+ *
1913
+ * O serviço é um singleton (providedIn: 'root') e não precisa ser importado
1914
+ * explicitamente, mas este módulo pode ser usado para organização.
1915
+ */
1916
+ declare class MatchaBreakpointObservableModule {
1917
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaBreakpointObservableModule, never>;
1918
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaBreakpointObservableModule, never, [typeof i2.CommonModule], never>;
1919
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaBreakpointObservableModule>;
1920
+ }
1921
+
1692
1922
  /**
1693
1923
  * Serviço responsável pela implementação técnica do overlay e backdrop dos modais.
1694
1924
  *
@@ -1796,5 +2026,5 @@ declare class StepContentDirective {
1796
2026
  static ɵdir: i0.ɵɵDirectiveDeclaration<StepContentDirective, "[step]", never, { "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
1797
2027
  }
1798
2028
 
1799
- 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, MatchaPaginatorComponent, MatchaPaginatorIntl, 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 };
1800
- export type { DrawerItem, DrawerMode, DrawerPosition, DrawerSection, ILevelClasses, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaOptionParent, ModalComponent, PageEvent, PanelPlacement, PanelPosition };
2029
+ export { CopyButtonComponent, MATCHA_OPTION_PARENT, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBadgeDirective, MatchaBadgeModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaComponentsModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, 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, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectTriggerDirective, 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 };
2030
+ export type { BreakpointState, DrawerItem, DrawerMode, DrawerPosition, DrawerSection, ILevelClasses, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaOptionParent, ModalComponent, PageEvent, PanelPlacement, PanelPosition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.13.0",
3
+ "version": "20.16.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"