@cqa-lib/cqa-ui 1.0.100 → 1.0.102

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,3 +1,4 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import * as i0 from "@angular/core";
2
3
  export interface DistributionSegment {
3
4
  label: string;
@@ -21,6 +22,11 @@ export declare class TestDistributionCardComponent {
21
22
  title: string;
22
23
  segments: DistributionSegment[];
23
24
  items: DistributionItem[];
25
+ itemClick: EventEmitter<DistributionItem>;
26
+ childClick: EventEmitter<{
27
+ parent: DistributionItem;
28
+ child: DistributionChildItem;
29
+ }>;
24
30
  totalSegments(): number;
25
31
  segmentWidth(segment: DistributionSegment): string;
26
32
  segmentColor(segment: DistributionSegment, fallback: string): string;
@@ -30,6 +36,8 @@ export declare class TestDistributionCardComponent {
30
36
  * Filter segments to only show those with value > 0
31
37
  */
32
38
  get visibleSegments(): DistributionSegment[];
39
+ onItemClick(item: DistributionItem, event: Event): void;
40
+ onChildClick(parent: DistributionItem, child: DistributionChildItem, event: Event): void;
33
41
  static ɵfac: i0.ɵɵFactoryDeclaration<TestDistributionCardComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<TestDistributionCardComponent, "cqa-test-distribution-card", never, { "title": "title"; "segments": "segments"; "items": "items"; }, {}, never, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestDistributionCardComponent, "cqa-test-distribution-card", never, { "title": "title"; "segments": "segments"; "items": "items"; }, { "itemClick": "itemClick"; "childClick": "childClick"; }, never, never>;
35
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.0.100",
3
+ "version": "1.0.102",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",