matcha-components 19.69.0 → 19.72.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.
@@ -1,14 +1,10 @@
1
- import { AfterContentInit, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- export declare class MatchaTabItemComponent implements AfterContentInit {
4
- private _render;
5
- active: boolean;
6
- selected: EventEmitter<void>;
7
- innerButton: ElementRef<HTMLButtonElement>;
8
- constructor(_render: Renderer2);
9
- ngAfterContentInit(): void;
10
- onClick(): void;
11
- setActiveState(isActive: boolean, inactiveColor: string, inactiveType: string): void;
2
+ export declare class MatchaTabItemComponent {
3
+ title: string;
4
+ icon: string;
5
+ private _active;
6
+ set active(value: boolean | string);
7
+ get active(): boolean;
12
8
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTabItemComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTabItemComponent, "matcha-tab-item", never, { "active": { "alias": "active"; "required": false; }; }, { "selected": "selected"; }, ["innerButton"], ["*"], false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTabItemComponent, "matcha-tab", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], false, never>;
14
10
  }
@@ -1,25 +1,14 @@
1
- import { AfterContentInit, QueryList } from '@angular/core';
1
+ import { AfterContentInit, QueryList, EventEmitter } from '@angular/core';
2
2
  import { MatchaTabItemComponent } from '../tab-item/tab-item.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MatchaTabsComponent implements AfterContentInit {
5
- private _multiple;
6
- get multiple(): boolean | string;
7
- set multiple(v: boolean | string);
8
- private _disabled;
9
- get disabled(): boolean | string;
10
- set disabled(v: boolean | string);
11
- get isDisabled(): string | true | null;
12
- private _required;
13
- get required(): boolean | string;
14
- set required(v: boolean | string);
15
- inactiveColor: string;
16
- inactiveType: '' | 'basic' | 'outline' | 'alpha' | 'pill';
17
- private _gap;
18
- set gap(v: string);
19
- get gapClass(): string;
20
- tabItems: QueryList<MatchaTabItemComponent>;
5
+ tabs: QueryList<MatchaTabItemComponent>;
6
+ activeTabIndex: number;
7
+ tabSelected: EventEmitter<number>;
21
8
  ngAfterContentInit(): void;
22
- onItemSelected(selectedItem: MatchaTabItemComponent): void;
9
+ selectTab(tab: MatchaTabItemComponent): void;
10
+ selectTabByIndex(index: number): void;
11
+ handleKeyboardEvent(event: KeyboardEvent): void;
23
12
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTabsComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTabsComponent, "matcha-tabs", never, { "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "inactiveColor": { "alias": "inactiveColor"; "required": false; }; "inactiveType": { "alias": "inactiveType"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, ["tabItems"], ["*"], false, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTabsComponent, "matcha-tabs", never, { "activeTabIndex": { "alias": "activeTabIndex"; "required": false; }; }, { "tabSelected": "tabSelected"; }, ["tabs"], ["*"], false, never>;
25
14
  }
@@ -3,8 +3,9 @@ import * as i1 from "./tabs/tabs.component";
3
3
  import * as i2 from "./tab-item/tab-item.component";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "../matcha-tooltip/tooltip.module";
6
+ import * as i5 from "../matcha-icon/icon.module";
6
7
  export declare class MatchaTabsModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTabsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTabsModule, [typeof i1.MatchaTabsComponent, typeof i2.MatchaTabItemComponent], [typeof i3.CommonModule, typeof i4.MatchaTooltipModule], [typeof i1.MatchaTabsComponent, typeof i2.MatchaTabItemComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTabsModule, [typeof i1.MatchaTabsComponent, typeof i2.MatchaTabItemComponent], [typeof i3.CommonModule, typeof i4.MatchaTooltipModule, typeof i5.MatchaIconModule], [typeof i1.MatchaTabsComponent, typeof i2.MatchaTabItemComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaTabsModule>;
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "19.69.0",
3
+ "version": "19.72.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"