matcha-components 20.274.0 → 20.275.2

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
@@ -1967,6 +1967,7 @@ declare class MatchaTabsComponent implements AfterContentInit, OnChanges {
1967
1967
  private cdr;
1968
1968
  tabs: QueryList<MatchaTabItemComponent>;
1969
1969
  selectedIndex: number;
1970
+ responsiveGrid: 2 | 3 | null;
1970
1971
  selectedIndexChange: EventEmitter<number>;
1971
1972
  selectedTabChange: EventEmitter<TabChangeEvent>;
1972
1973
  get activeTabIndex(): number;
@@ -1984,7 +1985,7 @@ declare class MatchaTabsComponent implements AfterContentInit, OnChanges {
1984
1985
  private setActiveTab;
1985
1986
  handleKeyboardEvent(event: KeyboardEvent): void;
1986
1987
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTabsComponent, never>;
1987
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTabsComponent, "matcha-tabs", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "activeTabIndex": { "alias": "activeTabIndex"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "selectedTabChange": "selectedTabChange"; "tabSelected": "tabSelected"; }, ["tabs"], ["*"], false, never>;
1988
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTabsComponent, "matcha-tabs", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "responsiveGrid": { "alias": "responsiveGrid"; "required": false; }; "activeTabIndex": { "alias": "activeTabIndex"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "selectedTabChange": "selectedTabChange"; "tabSelected": "tabSelected"; }, ["tabs"], ["*"], false, never>;
1988
1989
  }
1989
1990
 
1990
1991
  declare class MatchaTabsModule {
@@ -2488,30 +2489,25 @@ declare class MatchaHighlightModule {
2488
2489
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaHighlightModule>;
2489
2490
  }
2490
2491
 
2491
- declare class MatchaChipComponent implements OnInit, AfterViewInit {
2492
+ declare class MatchaChipComponent implements OnInit, AfterViewInit, OnDestroy {
2492
2493
  _elementRef: ElementRef;
2493
2494
  get hostClasses(): string;
2494
- /** Cor do chip (primary, accent, warn) */
2495
2495
  color: 'primary' | 'accent' | 'warn' | string;
2496
- /** Se o chip está selecionado */
2497
- get selected(): boolean;
2498
- set selected(value: boolean);
2499
2496
  private _selected;
2500
- /** Se o chip pode ser selecionado */
2501
- selectable: boolean;
2502
- /** Se o chip pode ser removido */
2503
- removable: boolean;
2504
- /** Se o chip está desabilitado */
2505
- get disabled(): boolean;
2506
- set disabled(value: boolean);
2497
+ get selected(): boolean;
2498
+ set selected(v: boolean | string);
2499
+ private _selectable;
2500
+ get selectable(): boolean;
2501
+ set selectable(v: boolean | string);
2502
+ private _removable;
2503
+ get removable(): boolean;
2504
+ set removable(v: boolean | string);
2507
2505
  private _disabled;
2508
- /** Valor associado ao chip */
2506
+ get disabled(): boolean;
2507
+ set disabled(v: boolean | string);
2509
2508
  value: any;
2510
- /** Evento emitido quando o chip é selecionado */
2511
2509
  selectedChange: EventEmitter<boolean>;
2512
- /** Evento emitido quando o botão de remover é clicado */
2513
2510
  removed: EventEmitter<MatchaChipComponent>;
2514
- /** Evento emitido quando o chip é destruído */
2515
2511
  destroyed: EventEmitter<MatchaChipComponent>;
2516
2512
  _hasCustomRemoveIcon: boolean;
2517
2513
  constructor(_elementRef: ElementRef);
@@ -2519,15 +2515,10 @@ declare class MatchaChipComponent implements OnInit, AfterViewInit {
2519
2515
  ngAfterViewInit(): void;
2520
2516
  private _setupChipRemoveDirective;
2521
2517
  hasCustomRemoveIcon(): boolean;
2522
- /** Manipula o clique no chip */
2523
2518
  _handleClick(event: Event): void;
2524
- /** Manipula o evento de teclado */
2525
2519
  _handleKeydown(event: KeyboardEvent): void;
2526
- /** Alterna o estado de seleção do chip */
2527
2520
  toggleSelected(): void;
2528
- /** Remove o chip */
2529
2521
  remove(): void;
2530
- /** Foco no elemento do chip */
2531
2522
  focus(): void;
2532
2523
  ngOnDestroy(): void;
2533
2524
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaChipComponent, never>;
@@ -2768,7 +2759,7 @@ declare class MatchaSnackBarComponent implements OnInit, OnDestroy {
2768
2759
  duration: number;
2769
2760
  visible: boolean;
2770
2761
  private timeoutId;
2771
- get colorAttr(): "error" | "info" | "warning" | "success";
2762
+ get colorAttr(): "error" | "warning" | "info" | "success";
2772
2763
  get positionAttr(): "top" | "bottom";
2773
2764
  get classes(): string;
2774
2765
  constructor(snackBarService: MatchaSnackBarService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.274.0",
3
+ "version": "20.275.2",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"