matcha-components 18.0.32 → 18.0.34

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.
@@ -15,6 +15,7 @@ export declare class MatchaTitleComponent {
15
15
  get signClasses(): string;
16
16
  get textClasses(): string;
17
17
  emitIconAction(): void;
18
+ hasIconClickOutput(): boolean;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTitleComponent, never>;
19
20
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaTitleComponent, "matcha-title", never, { "color": { "alias": "color"; "required": false; }; "level": { "alias": "level"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "iconClick": "iconClick"; }, never, ["*"], false, never>;
20
21
  }
@@ -1,9 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./title/title.component";
3
- import * as i2 from "./title/title.directive";
4
- import * as i3 from "@angular/common";
3
+ import * as i2 from "@angular/common";
5
4
  export declare class MatchaTitleModule {
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTitleModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTitleModule, [typeof i1.MatchaTitleComponent, typeof i2.MatchaTitleDirective], [typeof i3.CommonModule], [typeof i1.MatchaTitleComponent, typeof i2.MatchaTitleDirective]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaTitleModule, [typeof i1.MatchaTitleComponent], [typeof i2.CommonModule], [typeof i1.MatchaTitleComponent]>;
8
7
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaTitleModule>;
9
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "18.0.32",
3
+ "version": "18.0.34",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -48,7 +48,6 @@ export * from './lib/matcha-stepper/stepper.module';
48
48
  export * from './lib/matcha-table/table.module';
49
49
  export * from './lib/matcha-tooltip/tooltip.module';
50
50
  export * from './lib/matcha-tree/tree.module';
51
- export * from './lib/matcha-title/title/title.directive';
52
51
  export * from './lib/matcha-input/input.directive';
53
52
  export * from './lib/matcha-tree/tree.directive';
54
53
  export * from './lib/matcha-tooltip/tooltip.directive';
@@ -1,21 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class MatchaTitleDirective {
4
- constructor(el, renderer) {
5
- this.el = el;
6
- this.renderer = renderer;
7
- }
8
- ngOnInit() {
9
- // Adiciona a classe cursor-pointer ao elemento se o output iconClick estiver presente
10
- this.renderer.addClass(this.el.nativeElement, 'cursor-pointer');
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
13
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0", type: MatchaTitleDirective, selector: "[iconClick]", ngImport: i0 }); }
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatchaTitleDirective, decorators: [{
16
- type: Directive,
17
- args: [{
18
- selector: '[iconClick]'
19
- }]
20
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGl0bGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0Y2hhLWNvbXBvbmVudHMvc3JjL2xpYi9tYXRjaGEtdGl0bGUvdGl0bGUvdGl0bGUuZGlyZWN0aXZlLnRzIl0sIm5hbWV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vyc29yLXBvaW50ZXInKTtcbiAgICB9XG5cbn1cbiJdfQ==
@@ -1,10 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MatchaTitleDirective {
4
- private el;
5
- private renderer;
6
- constructor(el: ElementRef, renderer: Renderer2);
7
- ngOnInit(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaTitleDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaTitleDirective, "[iconClick]", never, {}, {}, never, never, false, never>;
10
- }