@indigina/ui-kit 1.1.122 → 1.1.124

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.
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class KitTabContentDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitTabContentDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KitTabContentDirective, "[kitTabContent]", never, {}, {}, never, never, true, never>;
5
+ }
@@ -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,11 +21,15 @@ 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
+ /**
26
+ * Defines a reference to the tab title
27
+ */
28
+ kitTitleTemplate: TemplateRef<HTMLElement> | null;
25
29
  /**
26
30
  * Defines a reference to the tab content
27
31
  */
28
32
  kitTabContent: TemplateRef<HTMLElement> | null;
29
33
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTabComponent, never>;
30
- 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; }; }, {}, ["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>;
31
35
  }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class KitTitleTemplateDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitTitleTemplateDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KitTitleTemplateDirective, "[kitTitleTemplate]", never, {}, {}, never, never, true, never>;
5
+ }
@@ -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
  }
@@ -4,8 +4,10 @@ import * as i2 from "./kit-tab/kit-tab.component";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@progress/kendo-angular-layout";
6
6
  import * as i5 from "../kit-svg-icon/kit-svg-icon.module";
7
+ import * as i6 from "./kit-tab/kit-title-template.directive";
8
+ import * as i7 from "./kit-tab/kit-tab-content.directive";
7
9
  export declare class KitTabsModule {
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<KitTabsModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<KitTabsModule, [typeof i1.KitTabsComponent, typeof i2.KitTabComponent], [typeof i3.CommonModule, typeof i4.LayoutModule, typeof i5.KitSvgIconModule], [typeof i1.KitTabsComponent, typeof i2.KitTabComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KitTabsModule, [typeof i1.KitTabsComponent, typeof i2.KitTabComponent], [typeof i3.CommonModule, typeof i4.LayoutModule, typeof i5.KitSvgIconModule, typeof i6.KitTitleTemplateDirective, typeof i7.KitTabContentDirective], [typeof i1.KitTabsComponent, typeof i2.KitTabComponent, typeof i6.KitTitleTemplateDirective, typeof i7.KitTabContentDirective]>;
10
12
  static ɵinj: i0.ɵɵInjectorDeclaration<KitTabsModule>;
11
13
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.122",
10
+ "version": "1.1.124",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "^19.1.4",
13
13
  "@angular/core": "^19.1.4"
package/public-api.d.ts CHANGED
@@ -115,9 +115,11 @@ 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
+ export { KitTitleTemplateDirective } from './lib/components/kit-tabs/kit-tab/kit-title-template.directive';
122
+ export { KitTabContentDirective } from './lib/components/kit-tabs/kit-tab/kit-tab-content.directive';
121
123
  export { KitCardModule } from './lib/components/kit-card/kit-card.module';
122
124
  export { KitCardComponent } from './lib/components/kit-card/kit-card.component';
123
125
  export { KitCard, KitCardItem, KitCardLink } from './lib/components/kit-card/kit-card.model';