@indigina/ui-kit 1.1.123 → 1.1.125

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,11 +1,11 @@
1
- import { TemplateRef } from '@angular/core';
1
+ import { InputSignal, TemplateRef } from '@angular/core';
2
2
  import { KitSvgIcon, KitSvgIconType } from '../../kit-svg-icon/kit-svg-icon.const';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class KitTabComponent {
5
5
  /**
6
6
  * Defines the tab title
7
7
  */
8
- title: string;
8
+ readonly title: InputSignal<string>;
9
9
  /**
10
10
  * Defines the icon which will be used with the tab title
11
11
  */
@@ -21,7 +21,7 @@ export declare class KitTabComponent {
21
21
  /**
22
22
  * Defines which tab will be disabled
23
23
  */
24
- disabled: boolean;
24
+ readonly disabled: InputSignal<boolean>;
25
25
  /**
26
26
  * Defines a reference to the tab title
27
27
  */
@@ -31,5 +31,5 @@ export declare class KitTabComponent {
31
31
  */
32
32
  kitTabContent: TemplateRef<HTMLElement> | null;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTabComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<KitTabComponent, "kit-tab", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["kitTitleTemplate", "kitTabContent"], never, false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitTabComponent, "kit-tab", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["kitTitleTemplate", "kitTabContent"], never, false, never>;
35
35
  }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, QueryList } from '@angular/core';
2
2
  import { KitTabComponent } from './kit-tab/kit-tab.component';
3
- import { KitTabsType } from './kit-tabs.const';
3
+ import { KitTabsSize, KitTabsType } from './kit-tabs.const';
4
4
  import { KitTabsSelectEvent } from './kit-tabs.model';
5
5
  import { SelectEvent } from '@progress/kendo-angular-layout';
6
6
  import * as i0 from "@angular/core";
@@ -9,6 +9,7 @@ export declare class KitTabsComponent {
9
9
  * Defines the type of tabs
10
10
  */
11
11
  type: KitTabsType;
12
+ size: KitTabsSize;
12
13
  /**
13
14
  * Enables the tab animation
14
15
  */
@@ -23,5 +24,5 @@ export declare class KitTabsComponent {
23
24
  tabs: QueryList<KitTabComponent> | null;
24
25
  onTabSelect(event: SelectEvent): void;
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTabsComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<KitTabsComponent, "kit-tabs", never, { "type": { "alias": "type"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; }, { "tabSelected": "tabSelected"; }, ["tabs"], never, false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitTabsComponent, "kit-tabs", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; }, { "tabSelected": "tabSelected"; }, ["tabs"], never, false, never>;
27
28
  }
@@ -1,4 +1,9 @@
1
1
  export declare enum KitTabsType {
2
2
  TEXT = "text",
3
- BUTTON = "button"
3
+ BUTTON = "button",
4
+ SEGMENTED = "segmented"
5
+ }
6
+ export declare enum KitTabsSize {
7
+ LARGE = "large",
8
+ SMALL = "small"
4
9
  }
@@ -1,4 +1,5 @@
1
1
  export interface KitTabsSelectEvent {
2
2
  index: number;
3
3
  title: string;
4
+ preventDefault(): void;
4
5
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.123",
10
+ "version": "1.1.125",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^19.1.4",
13
13
  "@angular/core": "^19.1.4"
package/public-api.d.ts CHANGED
@@ -115,7 +115,7 @@ export { KitProfileMenuComponent } from './lib/components/kit-profile-menu/kit-p
115
115
  export { KitProfileMenuItem } from './lib/components/kit-profile-menu/kit-profile-menu.model';
116
116
  export { KitTabsModule } from './lib/components/kit-tabs/kit-tabs.module';
117
117
  export { KitTabsComponent } from './lib/components/kit-tabs/kit-tabs.component';
118
- export { KitTabsType } from './lib/components/kit-tabs/kit-tabs.const';
118
+ export { KitTabsType, KitTabsSize } from './lib/components/kit-tabs/kit-tabs.const';
119
119
  export { KitTabsSelectEvent } from './lib/components/kit-tabs/kit-tabs.model';
120
120
  export { KitTabComponent } from './lib/components/kit-tabs/kit-tab/kit-tab.component';
121
121
  export { KitTitleTemplateDirective } from './lib/components/kit-tabs/kit-tab/kit-title-template.directive';