@tet/tet-components-angular 1.4.41-testing → 1.4.42-production

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
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { NgZone, EventEmitter, ChangeDetectorRef, ElementRef, ModuleWithProviders } from '@angular/core';
3
- import { Components, AddressInterface, UniqueAddressInterface, CustomerNotFound, OptionInterface, B2bCardUpdateEvent, B2BSubmit, BusinessLine, CheckboxCheckEventInterface, TetApplicationFormDialogSubmissionData, CustomerAsset, DatepickerView, DatepickerRangeSetData, DropdownOptionInterface, SelectedOptionInterface, StateChangeInterface, FeedbackFormSubmissionData, FilterState, ListItem, RadioCheckEventInterface, SnickerCardSelectionState, SnickerCardGroupSelectionChangeDetail, OptionSelectedEventDetail, SwitchCheckEventInterface, TabSelectEventData } from '@tet/tet-components';
3
+ import { Components, AddressInterface, UniqueAddressInterface, CustomerNotFound, OptionInterface, B2bCardUpdateEvent, B2BSubmit, BusinessLine, CheckboxCheckEventInterface, TetApplicationFormDialogSubmissionData, CustomerAsset, DatepickerView, DatepickerRangeSetData, DropdownOptionInterface, SelectedOptionInterface, StateChangeInterface, FeedbackFormSubmissionData, FilterState, LinkClickEventDetail, RadioCheckEventInterface, SnickerCardSelectionState, SnickerCardGroupSelectionChangeDetail, OptionSelectedEventDetail, SwitchCheckEventInterface, TabSelectEventData } from '@tet/tet-components';
4
4
 
5
5
  declare class TetAccordion {
6
6
  protected z: NgZone;
@@ -310,17 +310,32 @@ declare class TetBusinessNavigation {
310
310
  protected el: HTMLTetBusinessNavigationElement;
311
311
  menuClickEvent: EventEmitter<CustomEvent<{
312
312
  id: number;
313
+ label: string;
314
+ parentLabel?: string;
315
+ }>>;
316
+ menuExpandEvent: EventEmitter<CustomEvent<{
317
+ expanded: boolean;
318
+ clickedLabel: string;
313
319
  }>>;
314
320
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
315
321
  static ɵfac: i0.ɵɵFactoryDeclaration<TetBusinessNavigation, never>;
316
- static ɵcmp: i0.ɵɵComponentDeclaration<TetBusinessNavigation, "tet-business-navigation", never, { "emitOnSelectedClick": { "alias": "emitOnSelectedClick"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "language": { "alias": "language"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": true; }; "singleOpenMenu": { "alias": "singleOpenMenu"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "menu-click-event": "menu-click-event"; "menuClickEvent": "menu-click-event"; }, never, ["*"], false, never>;
322
+ static ɵcmp: i0.ɵɵComponentDeclaration<TetBusinessNavigation, "tet-business-navigation", never, { "emitOnSelectedClick": { "alias": "emitOnSelectedClick"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "language": { "alias": "language"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": true; }; "singleOpenMenu": { "alias": "singleOpenMenu"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "menu-click-event": "menu-click-event"; "menu-expand-event": "menu-expand-event"; "menuClickEvent": "menu-click-event"; "menuExpandEvent": "menu-expand-event"; }, never, ["*"], false, never>;
317
323
  }
318
324
  declare interface TetBusinessNavigation extends Components.TetBusinessNavigation {
319
325
  /**
320
- * Event emitter for the menu item click passing menu id
326
+ * Event emitter for the menu item click passing menu id, clicked label, and optional parent label
321
327
  */
322
328
  'menu-click-event': EventEmitter<CustomEvent<{
323
329
  id: number;
330
+ label: string;
331
+ parentLabel?: string;
332
+ }>>;
333
+ /**
334
+ * Event emitter for menu expand/collapse state changes.
335
+ */
336
+ 'menu-expand-event': EventEmitter<CustomEvent<{
337
+ expanded: boolean;
338
+ clickedLabel: string;
324
339
  }>>;
325
340
  }
326
341
  declare class TetBusinessRoundStepper {
@@ -805,10 +820,7 @@ declare interface TetLabel extends Components.TetLabel {
805
820
  declare class TetLinkCardList {
806
821
  protected z: NgZone;
807
822
  protected el: HTMLTetLinkCardListElement;
808
- linkClick: EventEmitter<CustomEvent<{
809
- item: ListItem;
810
- nativeEvent: MouseEvent;
811
- }>>;
823
+ linkClick: EventEmitter<CustomEvent<LinkClickEventDetail>>;
812
824
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
813
825
  static ɵfac: i0.ɵɵFactoryDeclaration<TetLinkCardList, never>;
814
826
  static ɵcmp: i0.ɵɵComponentDeclaration<TetLinkCardList, "tet-link-card-list", never, { "isSearchResult": { "alias": "isSearchResult"; "required": false; }; "items": { "alias": "items"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "placeholderCount": { "alias": "placeholderCount"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "linkClick": "linkClick"; }, never, ["*"], false, never>;
@@ -817,10 +829,7 @@ declare interface TetLinkCardList extends Components.TetLinkCardList {
817
829
  /**
818
830
  * Fires when a link item is clicked or activated with Enter
819
831
  */
820
- linkClick: EventEmitter<CustomEvent<{
821
- item: ListItem;
822
- nativeEvent: MouseEvent;
823
- }>>;
832
+ linkClick: EventEmitter<CustomEvent<LinkClickEventDetail>>;
824
833
  }
825
834
  declare class TetLoader {
826
835
  protected z: NgZone;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@tet/tet-components-angular",
3
- "version": "v1.4.41-testing",
3
+ "version": "v1.4.42-production",
4
4
  "description": "A Stencil-based Web Components library for reusable UI elements.",
5
5
  "homepage": "https://tet.lv",
6
6
  "peerDependencies": {
7
7
  "@angular/common": ">=19.0.0 <22.0.0",
8
8
  "@angular/core": ">=19.0.0 <22.0.0",
9
- "@tet/tet-components": "v1.4.41-testing"
9
+ "@tet/tet-components": "v1.4.42-production"
10
10
  },
11
11
  "dependencies": {
12
12
  "tslib": "^2.3.0"